If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
SELECT t.id
, t.name
FROM Trades_table AS t
LEFT OUTER
JOIN Contract_Trades AS ct
ON ct.trade_id = t.id
AND ct.contractor_id = 937
WHERE ct.contractor_id IS NULL
hi socca,
if u have small data then try with not in r not exists also queries
according to performance exists will have more performance than in
i think so............