Hey guys I want to something like this:
DELETE FROM ClientsFlags
WHERE clientId = (SELECT id
FROM Client
WHERE emailRegistrationToken = 3)
AND flagId = 42;
But with a join rather than the sub query. I'm not very good with joins so please help me out.