MySQL Forums
Forum List  »  Newbie

Re: Complicated Insert Statement
Posted by: Peter Brawley
Date: May 25, 2012 01:45PM

Is this what you mean?

create table people_departments
select distinct p.peopleID, d.dept
from people p
cross join dept d;

PB

Options: ReplyQuote


Subject
Written By
Posted
Re: Complicated Insert Statement
May 25, 2012 01:45PM


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.