Hi all,
I have a data table which holds the following format:
field: id
country:
countrycode:
rate;
Each record has a sister record which holds a different rate value, like:
id = 1, country=United States,countrycode=USA,rate1=2.7640
id = 2, country=United States,countrycode=USA,rate2=2.4568
I am trying to write a query that could produce a result like:
id = 1, country=United States,countrycode=USA,rate1=2.7640,rate2=2.4568
rate1 is from record is 1 and rate2 is from record id 2.
I have been trying all I know and have read most if not all of the posts relating to MySQL.