SELECT * FROM t_order a where a.user_id=5 and exists(SELECT * from t_relation b where b.userID =a.user_id)
本文标题:mysql子查询exists
本文链接:https://www.haomeiwen.com/subject/wsqhfctx.html
网友评论