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 date and time data types? : Sql dba
discuss about myisam key cache. : Sql dba
How many clustered indexes can be created on a table?
How consistent is the view of the data between and within multiple sessions, transactions or statements ?
what tools available for managing mysql server? : Sql dba
How do I view a table in sql?
What is character functions?
What are the usages of sql?
What is native sql query?
What is union and union all keyword in sql and what are their differences?
Explain normalization and what are the advantages of it?
What are sql functions? Describe in brief different types of sql functions?
Does view contain data?
what is 'mysqlcheck'? : Sql dba
What are the indexing methods?