首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Mysql >

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

2012-03-09 
mysql中的全外连接为何报错~select*fromtbl1fullouterjointbl2ontbl1.idtbl2.noERROR1064(42000):Youhav

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;

热点排行