There is a table with prices
city_id product_id price
1 1 1
1 2 2
1 3 3
2 1 4
2 2 5
2 3 6
Is it possible to show cities as columns?
procuct_id city_1 city_2 ... city_n
1 1 4
2 2 5
3 3 6