I don't know what's wrong with this statement, but whenever i run this i always get an error
here is my sql:
DELETE FROM tbl_usersinfo
WHERE users_lname IN
(SELECT users_lname FROM tbl_usersinfo WHERE users_lname = 'asd')
here is my error:
#1093 - You can't specify target table 'tbl_usersinfo' for update in FROM clause