Forum Moderators: coopster
Table Name = CUSTOMER [There are many customers in this table]
Field 1 = Customer_Name [Data available]
Field 2 = Customer_Country_Code [Data Available]
Field 3 = Customer_Country_Name [To be updated from COUNTRY table]
Table Name = COUNTRY [There is one record for every country in the world]
Field 1 = Country_Code
Field 2 = Country_Name
How can I run a SQL command or write a PHP script that will fill the CUSTOMER->Customer_Country_Name with the Country Name by checking the CUSTOMER->Customer_Country_Name with COUNTRY->Country_Code