At 02:59 PM 3/21/2001 +0000, soon chee keong wrote:
>Table_1
>
>-------------------------
>   A     B     C
>-------------------------
>  10    18     9
>  4     3      1
>--------------------------
>
>how can i change column C's "9" to say "20" without inserting a new record 
>and columns A and B remain unchanged?
>
>do i use REPLACE or what?please advice.

You probably want UPDATE, something like:

UPDATE Table_1 SET C = '20' WHERE A = '10' AND B = '18';

-bill


---------------------------------------------------------------------
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

Reply via email to