有表tabe1

有表tabe0

‘,’全查、并集
select * from table0,table1

select * from table0 left join table1 on table0.id = table1.sid

select * from table0 right join table1 on table0.id = table1.sid

select * from table0 INNER JOIN table1 on table0.id = table1.sid

select * from table0 JOIN table1 on table0.id = table1.sid

select * from table0 STRAIGHT_JOIN table1 on table0.id = table1.sid

‘FULL JOIN/OUTER JOIN’全查、并集(oracle) mysql报错
select * from table0 FULL JOIN table1 on table0.id = table1.sid

网友评论