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
How many functions are there in sql?
Does mysql support pl sql?
Why select is used in sql?
What is the maximum size of sqlite database?
What happens when a trigger is associated to a view?
How do I run a sql query in pgadmin 4?
What is the difference between a procedure and a function?
How to use sql statements in pl/sql?
what is online transaction processing (oltp)? : Sql dba
Define select, insert, create, delete, update, drop keywords
Can you inner join the same table?
How to prepare for oracle pl sql certification?
Mention what are the benefits of pl/sql packages?
Explain the difference between sql and mysql.
How do I edit a stored procedure?