上面的sql中订单表中(orders) 存在user_id,而又有用户表(users),所以我们用orders表中user_id和user表中的id 来in 和exists。 1.in:先查询in ...
確定! 回上一頁