时间:2021-07-01 10:21:17 帮助过:3人阅读
1 SELECT * FROM user_00 a 2 LEFT JOIN user_02 b 3 ON a.id=b.id
1 SELECT * FROM user_00 a 2 RIGHT JOIN user_02 b 3 ON a.id=b.id
1 SELECT * FROM user_00 a 2 LEFT JOIN user_02 b 3 ON a.id=b.id 4 LEFT JOIN user_01 c 5 ON a.id=c.id
1 SELECT a.id,a.name,a.age,b.gender,c.course,c.course_time FROM user_00 a 2 LEFT JOIN user_02 b 3 ON a.id=b.id 4 LEFT JOIN user_01 c 5 ON a.id=c.id 6 WHERE a.id=‘04183002‘
sql server的关联查询
标签:color alt img mamicode 关联 com nbsp col serve