Re: Every derived table must have its own alias
Using subqueries in the FROM list (oracle calls this form a subselect) is possible in mysql (i guess, 4.1 or better). But, you must alias it, so:
SELECT *
FROM (SELECT * FROM t)
is wrong, and
SELECT *
FROM (SELECT * FROM t) as t
is wright.
good luck!
Subject
Written By
Posted
Re: Every derived table must have its own alias
July 15, 2005 03:11AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.