I have three tables:
POP(country, year, pop) FOOD(country, year, food) INCOME(country, year, income)
I am trying to create a view such as:<
This works too and you dont have to use join or anything:
DROP VIEW IF EXISTS yourview; CREATE VIEW yourview AS SELECT table1.column1, table2.column2 FROM table1, table2 WHERE table1.column1 = table2.column1;