MySQL Forums
Forum List  »  Newbie

Re: Every derived table must have its own alias
Posted by: Peter Brawley
Date: October 12, 2015 06:27PM

In select * from (...), (...) requires an alias as the docs say. You could avoid that by losing the unnecessary subquery ...

insert into ap_workflow1 (uniqueid,linmaruid,invnumber,ponumber,attachments)
select uniqueid,linmaruid,invnumber,ponumber,attachments from ap_workflow;

Options: ReplyQuote


Subject
Written By
Posted
Re: Every derived table must have its own alias
October 12, 2015 06:27PM


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.