赞
踩
--交叉连接
select *
from a_table cross join b_table
select *
from a_table t1 inner join b_table t2
on t1.id=t2.id
select *
from a_table t1 left join b_table t2
on t1.id=t2.id
select *
from a_table t1 right join b_table t2
on t1.id=t2.id
select *
from a_table t1 full outer join b_table t2
on t1.id=t2.id
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。