Question: How can I change the column to row and row to column using SQLite? The original data format: The desire format is to have: CountryName
How can I change the column to row and row to column using SQLite?
The original data format:

The desire format is to have:
CountryName Year GDP
The raw data can be seen here: https://data.worldbank.org/indicator/NY.GDP.PCAP.CD
Country Name Country Code ABW Aruba Africa Eastern al AFE Indicator Name Indicator Code GDP per capita (NY.GDP.PCAP.CD GDP per capita (NY.GDP.PCAP.C 162.7263255 162.5559676 172.2710222 199.7849158 180.2287741 199.5172275 211.0543884 213.6365987 226.6213203 252.5686353 263.4990373 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970
Step by Step Solution
3.39 Rating (143 Votes )
There are 3 Steps involved in it
To transpose columns to rows and rows to columns in SQLite you can use a combination of SQL queries ... View full answer
Get step-by-step solutions from verified subject matter experts
