一次从三个表中删除

时间:2018-06-24 15:29:41

标签: java mysql jdbc

我想用一个语句编写此查询,但是我真的不知道该怎么做。我想这是联接。

START TRANSACTION;;

DELETE
FROM    user
WHERE   user_id= 1;

DELETE
FROM    issue
WHERE   user_id= 1;

DELETE
FROM    retour
WHERE   user_id= 1;

COMMIT;

0 个答案:

没有答案