select, delete & update from multible tables using a single query in mysql

Posted by mewis on Stack Overflow See other posts from Stack Overflow or by mewis
Published on 2010-03-31T20:17:36Z Indexed on 2010/03/31 20:23 UTC
Read the original article Hit count: 288

Filed under:
|

for example i use following command to find a record

SELECT users.mail FROM users WHERE users.uid = %s

if found an match, then i should like to delete this record, and update in the same query an another table. i can solve this with 'joins' ?

© Stack Overflow or respective owner

Related posts about mysql-query

Related posts about mysql