B
BLUE
SELECT * FROM Actions WHERE NOT EXISTS
(SELECT Actions.ActionID
FROM Actions, Tracks
WHERE Actions.ActionID <> Tracks.ActionID)
SELECT * FROM Actions WHERE NOT EXISTS
(SELECT Actions.ActionID
FROM Actions, Tracks
WHERE Actions.ActionID = Tracks.ActionID)
Always 0 rows: I have to use NOT IN why?
These prevents from doing DELETE FROM Actions WHERE NOT EXISTS (SELECT
1...).
(SELECT Actions.ActionID
FROM Actions, Tracks
WHERE Actions.ActionID <> Tracks.ActionID)
SELECT * FROM Actions WHERE NOT EXISTS
(SELECT Actions.ActionID
FROM Actions, Tracks
WHERE Actions.ActionID = Tracks.ActionID)
Always 0 rows: I have to use NOT IN why?
These prevents from doing DELETE FROM Actions WHERE NOT EXISTS (SELECT
1...).