Skip to content
Advertisement

How do I build two selects on different columns?

I´m trying to create a table with two different selects in two different columns. What SQL command can I use?

Obs: “NAME_FAB” means Name Manufacturer.

Advertisement

Answer

You want conditional aggregation:

Your FROM clauses do not have NFOUT so I added it.

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