If I do:
SELECT * FROM A
WHERE conditions
UNION
SELECT * FROM B
WHERE conditions
I get the union of the resultset of query of A and resultset of query of B.
Is there a way/operator so that I can get a short-circuit OR
result instead?
I.e. Get the result of SELECT * FROM A WHERE conditions
and only if this returns nothing get the resultset of the SELECT * FROM B WHERE conditions
?