Skip to content
Advertisement

sql find same two columns

i want to find all same a+b’s

for that data my result should be

*

That works like that I can see which ones are like that. But I want to see RAW data.

How can I see all data with that having clause ? Because that table have lots of columns and I dont want to group by them. I only want group by a and b and see all the columns .

Advertisement

Answer

You can use window functions:

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