I am trying to run the following query but get an error:
select S
from St
where count(
select *
from L
where L.Wh = S
) = 0
I get the error:
error code 1064, SQL state 42000: You have an error in your SQL syntax…
How can I write this query?
You could use
NOT EXISTSclause.