1.多表删除的mysql语句
DELETE t_w_channel, t_w_channelext
FROM
t_w_channel
LEFT JOIN
t_w_channelext
ON
t_w_channel.id = t_w_channelext.channelid
WHERE
t_w_channel.id=61;
(注:表名不能使用别名)
1.多表删除的mysql语句
DELETE t_w_channel, t_w_channelext
FROM
t_w_channel
LEFT JOIN
t_w_channelext
ON
t_w_channel.id = t_w_channelext.channelid
WHERE
t_w_channel.id=61;
(注:表名不能使用别名)