Skip to content
Advertisement

Exclude all from attributes where employee table does not have connection with in the pivot table

I need to exclude all attributes that have no connection with employee1 in Pivot table. in this case attribute3. What is the SQL query for that?

Advertisement

Answer

Use not exists:

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