sql集合记录

两个表左关联查询

select t1.学号,t1.姓名,t2.成绩1,t2.成绩2...
from table1 as t1 
left join table2 as t2
on t1.学号=t2.学号

你可能感兴趣的:(sql集合记录)