Skip to content
Advertisement

Using columns from different tables to create one table

I am not sure how I can get this code to have three columns for each category (Portrait,Landscape, and Abstract). As of now, it only has one column and all three of these values computed values:

Query output

Any advice is greatly appreciated

Advertisement

Answer

This can be done by using pivot as follows

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement