List:General Discussion« Previous MessageNext Message »
From:Jasper Bryant-Greene Date:September 22 2005 4:06am
Subject:Re: select first then insert (same table)
View as plain text  
Louie Miranda wrote:
> How do i select and insert a data from 1 table to another with same table
> fields.

INSERT .. SELECT -- it's in the manual at:
http://dev.mysql.com/doc/mysql/en/insert-select.html

It's always good to read the manual before asking questions on the list, 
as a large number of your questions will be answered there.

-- 
Jasper Bryant-Greene
Freelance web developer
http://jasper.bryant-greene.name/
Thread
select first then insert (same table)Louie Miranda22 Sep
  • Re: select first then insert (same table)Jasper Bryant-Greene22 Sep