多表查询相同字段内容的问题. select name,mobile from clientunionselect name,mobile from worker 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 #1064 - You have an error in your SQL syntax near 'UNION SELECT name, mobileFROM worker LIMIT 0, 30' at line 3 select name,mobile from clientunionselect name,mobile from worker这个应该没有错。你试一下,不要有空行。 select name,mobile from clientunion allselect name,mobile from worker MYSQL,语句优化问题查询 对birthDay 日期 字段求 21年前的所有记录 求两表关联没数据的又能查出表1数据sql语句怎么写. 设了主键 却能设为空 如何理解和解决? Mysql查询问题. 高手请进,求一SQL语句。已经困扰多时! mysql在java环境下的远程连接问题? 菜鸟问题,求一条查询语句 多台服务器时间如何同步 mysql可视化工具连接数据库连接不上 MySQL新手请教 如何将表A的数据移到表B中
SELECT name, mobile
FROM worker LIMIT 0, 30' at line 3
union
select name,mobile from worker
这个应该没有错。你试一下,不要有空行。
union all
select name,mobile from worker