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 is the reports view in oracle sql developer?
How much does sqlite cost?
what are properties of a transaction? : Sql dba
How to start the command-line sql*plus?
What is rename command in sql?
Which command is used to delete a trigger?
What do you mean by dbms? What are its different types?
Is join and inner join the same?
How do I edit a trigger in sql developer?
What is the usage of when clause in trigger?
How do you create a db file?
what are the nonstandard string types? : Sql dba
GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?
What is a string data type in sql?
Is primary key is clustered index?