Every derived table must have its own alias

In mysql, the error query multiple tables appear: Every derived table must have its own alias

Reason: the intermediate table or table select produced without the use of an alias .

Solution:

Table join the newly created alias:

E.g:

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

Guess you like

Origin www.cnblogs.com/qi-yuan-008/p/12198676.html