16 Kwi
2005
16 Kwi
'05
14:37
Dnia 15-04-2005, pią o godzinie 00:54 +0200, Wiktor R. Braun napisał:
DELETE FROM tmp_users USING tmp_users AS tmp, assignments AS assign WHERE tmp.usersid = assign.userid AND assign.suspended = 1;
Aktualizacja dla MySQL 4.1.x (poprzednio działało na 4.0.x):
DELETE tmp_users FROM tmp_users INNER JOIN assignments WHERE tmp_users.usersid = assignments.userid AND assignments.suspended = 1;
--
Pozdrawiam, Wiktor.