SQL
select * from t_google_receipt limit 1 union select * from t_old_google_receipt limit 1ï¼
我代码中的SQL在我的旧MySQL中执行成功(服务器版本:5.6.17-log MySQL Community Server(GPL)),但在更新到MySQlgroup(服务器版本:8.0.11 MySQL Community Server-GPL)后执行失败,
错误1064(42000):SQL语法中有错误;请检查
与右边mysql服务器版本相对应的手册
在'union select*from t_old_google_receipt limit 1'附近使用的语法
在第1行;