> Is there a way to put the results of a SELECT into a table without going
> through an export file? For example, something like
> SELECT * FROM table_1 WHERE condition INTO table_2
You can CREATE a table with the new data:
CREATE table_2 SELECT * from table_1
You can also INSERT or REPLACE into a table:
INSERT into table_2 SELECT * from table_1
/ Carsten
--
Carsten H. Pedersen
keeper and maintainer of the bitbybit.dk MySQL FAQ
http://www.bitbybit.dk/mysqlfaq>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php