等值连接:
1.select * from 表1,表2 where 表1.列=表2.列
2.select * from 表1 inner join 表2 on 表1.列=表2.列
select * from courses cs,scores sc where cs.math = sc.math
select * from courses cs inner join scores sc on cs.math = sc.math
左连接
select * from 表1 left join 表二 on 表1.列= 表二,列
右连接
select * from 表1 right join 表二 on 表1.列= 表二.列