由于mysql不支持full join,可以用left join,加上union 以及 right join。
select * from user left join uorder o on userid=o.uid
UNION
select * from user right join uorder o on userid=o.uid
由于mysql不支持full join,可以用left join,加上union 以及 right join。
select * from user left join uorder o on userid=o.uid
UNION
select * from user right join uorder o on userid=o.uid