Hello -
I want to get necessary info from two tables and put it into a separate table. Please let me know how I can do this.
I have 2 tables, Temp and Geography. Table Temp has field countryID. Geography Table has fields countryID, CurrencyCode and
CurrencyDescription. What I want to do is, for all the countries that are in the Temp table, I want to get respective CurrencyCode and CurrencyDescription by looking at the Geography Table. Then, put this onto a separate new table Temp_Currency which will have CountryID, CurrencyCode and CurrencyDescription.
For example,
if countryID is 001 in the Temp table, I want to look at countryID 001 in Geography table, and find the currency Code (USD) and description (US Dollar). The temp_Currency table should have countryID 001, CurrencyCode USD and CurrencyDescription US Dollar.
I will appreciate your help very much.
Santosh
I want to get necessary info from two tables and put it into a separate table. Please let me know how I can do this.
I have 2 tables, Temp and Geography. Table Temp has field countryID. Geography Table has fields countryID, CurrencyCode and
CurrencyDescription. What I want to do is, for all the countries that are in the Temp table, I want to get respective CurrencyCode and CurrencyDescription by looking at the Geography Table. Then, put this onto a separate new table Temp_Currency which will have CountryID, CurrencyCode and CurrencyDescription.
For example,
if countryID is 001 in the Temp table, I want to look at countryID 001 in Geography table, and find the currency Code (USD) and description (US Dollar). The temp_Currency table should have countryID 001, CurrencyCode USD and CurrencyDescription US Dollar.
I will appreciate your help very much.
Santosh