Thread: Copying Rows
View Single Post
  #4 (permalink)  
Old 09-02-2007, 01:31 PM
voldron voldron is offline
Newbie
 
Join Date: Aug 2007
Posts: 4
Rep Power: 0
voldron is on a distinguished road
Default

Couldn't this be possibly done using a sub query?

INSERT INTO employees3 (id,Lastname,Firstname,Title) (SELECT id,Lastname,Firstname,Title FROM employees WHERE Title='manager');


Something like the above. I know that Subquerys have just recently be supported fully in MySQL
;-)
Reply With Quote