here is the sqlite query that I have to execute, but I want to execute, except for the operation first, and then the intersection. By default, an intersection gets more priority except. Is there a way I can do this?
select a, b from table1 intersect select a,b from table2 except select a, b from table3
I tried to put the queries in brackets, but this caused the error " [ near "(": syntax error ] ".
select a, b from table1 intersect (select a,b from table2 except select a, b from table3)
sqlite sqlite3
Shashank
source share