Every derived table must have its own alias

在mysql中,多个表查询出现错误:Every derived table must have its own alias

原因:中间表或者select产生的表,没有使用别名

解决方法:

新产生的表加入别名:

例如:

select * from select id, content from XXX as a;

posted on 2020-01-15 20:36  落日峡谷  阅读(1428)  评论(0)    收藏  举报

导航