Re: tricky update, how?

2001-12-01 Thread Benjamin Pflugmann
Hi. MySQL doesn't (yet) suport sub-queries. For further information have a look at http://www.mysql.com/doc/A/N/ANSI_diff_Sub-selects.html. Bye, Benjamin. On Thu, Nov 29, 2001 at 12:07:01AM -0500, [EMAIL PROTECTED] wrote: > > Hi all, > > I wanna try the following query, > > ===

tricky update, how?

2001-11-28 Thread Malkova
Hi all, I wanna try the following query, = select concat( "update product set price=", p2.price, " where id=", p1.id, ";" ) from product p1 left join product p2 on p1.name=p2.name where p1.

tricky update, how?

2001-11-26 Thread Malkova
Hi all, I wanna try the following query, = select concat( "update product set price=", p2.price, " where id=", p1.id, ";" ) from product p1 left join product p2 on p1.name=p2.name where p1.