Re: Duplicate selection with change

2004-06-28 Thread SGreen
cc: Fax to: 06/28/2004 02:43 Subject: Re: Duplicate selection

Re: [MySQL] Duplicate selection with change

2004-06-28 Thread Ashley M. Kirchner
Scott Haneda wrote: So, I need to basically: SELECT iamge_title, image_filename, image_url, image_width, image_height from images where user_id = '123'; Then, take that result and insert all those rows in the same table, setting type='2' and added=NOW() I think I need to do a subselect, the docs ar

Re: Duplicate selection with change

2004-06-27 Thread Scott Haneda
on 06/27/2004 11:31 PM, Scott Haneda at [EMAIL PROTECTED] wrote: > So, I need to basically: > SELECT iamge_title, image_filename, image_url, image_width, image_height > from images where user_id = '123'; > > Then, take that result and insert all those rows in the same table, setting > type='2' an

Duplicate selection with change

2004-06-27 Thread Scott Haneda
4.0.18-standard I need to duplicate a select of records, all in the same table, but also make a change to one field. Here is one table I need to do this on ++---+--+-++ | Field | Type | Null | Key | Default| +--