Skip to content
Advertisement

Left join vs subquery [closed]

I have the following query with left join can I make this as subquery instead? Will it work faster since it’s the same table? I will only want to get the revenue rows and show revenue2 only for them

Advertisement

Answer

Your query is quite suspicious as you can achieve the desired result using minor changes in first query as follows:

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