I have 2 tables users and pd having a common column i_uid
For deleting from both the tables a single row having i_uid of 1010 I issued the following statement using mysqli::query in php script
DELETE
FROM `users`,`pd`
WHERE `users`.`i_uid`=`pd`.`i_uid` AND `users`.`i_uid` = 1010;
Is there anything wrong?