The Pensive
Inserting from a select in MySQL
Quite simple but something I can never seem to remember:
INSERT INTO files_users (file_id, user_id)
SELECT id, '2' FROM efs.files;
found @
http://mysql-tips.blogspot.com/2005/04/mysql-insert-select-example.html
tags
insert
MySQL
select