读书人

mysql中的全外连接为何报错~该如何解

发布时间: 2012-03-09 16:54:57 作者: rapoo

mysql中的全外连接为何报错~
select * from tbl1 full outer join tbl2 on tbl1.id=tbl2.no;

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer join tbl2 on tbl1.id=tbl2.no ' at line 1

[解决办法]
sql语法错了吧,
select tbl1.* from tbl1 full outer join tbl2 on tbl1.id=tbl2.no;

读书人网 >Mysql

热点推荐