MySQL Forums
Forum List  »  Newbie

every derived table must have its own alias
Posted by: sanjeev dasgupta
Date: June 30, 2005 08:16PM

hi everyone,

i have a sub-query i'm trying to execute as follows....and i'm getting the above error message.....

select z.date from (select x.date from bsmtruckrecord as x where x.employee_ida=17) where z.date in (select y.holiday from bsmpublicholiday as y) as z

i have referenced all tables by an alias and i'm still getting the error message saying....
"every derived table must have its own alias"

Options: ReplyQuote


Subject
Written By
Posted
every derived table must have its own alias
June 30, 2005 08:16PM


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.