Comments - Subqueries in a FROM Clause
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Derived tables being the result set of a command, why only select commands are accepted?
For instance an SQL query such as:
returns a syntax error message.
It should. Remove EXPLAIN from subquery part. EXPLAIN is an command not part of the query.