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

you might want to read a basic SQL book before asking this type of
question....

HTH,

christopher oson

-----Original Message-----
From: soon chee keong [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 6:59 AM
To: [EMAIL PROTECTED]
Subject: replace qeustion


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.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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

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