Mybatis中用一条SQL语句删除两个表的记录

delete u,i
from users u
left join introduction i
on u.id=i.id
where u.id=#{user_id};

猜你喜欢

转载自blog.csdn.net/qq_40820862/article/details/86567632
今日推荐