Guys can you help me with this not working query?
UPDATE DB_1
left join blacklist as blk
on DB_1.last_email=blk.email
SET DB_1.sampling = ?
WHERE blk.email IS NULL
and DB_1.sampling IS NULL
LIMIT "+slot;
I need to update 25k row at the time but doing this is not working. How can I create a query that does work? I was thinking to drop the left join and use an IN for the join.
Do you you want to update the rows in
DB_1that are not in theblacklist?You can try:
or: