Skip to content
Advertisement

How to make a comparison for the record that has rows to another rows? [closed]

I have first table that has columns:

And second table(more like the list):

I need to get distinct id that contains all keys from second table

I have tried self join but it is very slow. Also I tried COUNT = COUNT but performance the same.

Self join:

COUNT:

Advertisement

Answer

You can also check this-

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