In a table only one column how to update rows
Answer Posted / rajesh venati
It is also work,
UPDATE TABLE_NAME SET COL_NAME=NEW_VALUE WHERE
COL_NAME=OLD_VALUE;
EX:-
SQL> SELECT * FROM RAJ;
EMPNO
----------
100
200
300
4
SQL> UPDATE RAJ SET EMPNO=400 WHERE EMPNO=4;
1 row updated.
SQL> SELECT * FROM RAJ;
EMPNO
----------
100
200
300
400
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
What are tables in sql?
What are local and global variables and their differences?
How do I add a primary key to a table?
explain the difference between myisam static and myisam dynamic. : Sql dba
how to shut down the server with 'mysqladmin'? : Sql dba
What is sql character function?
How much does sqlite cost?
What is sql indexing?
What is posting?
What are the set operators in sql?
How to read xml file in oracle pl sql?
What is mutating error in pl sql?
What is use of trigger?
How to change a value of the field ‘salary’ as 7500 for an employee_name ‘john’ in a table employee_details?
How to read/write files from pl/sql?