Write one update command to update seqno field of a table
on the basis of row number.
Answer Posted / rk
update emp_test a set empno=7469 where (select empno from
(select rownum r,empno from emp_test) where r=6 )=a.empno
use seqno in place of empno
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql
Why is sharding used?
Enlist the characteristics of pl/sql?
Which one is better subquery or joins?
How many types of literals are available in pl sql?
Can pl sql procedure have a return statement?
What is the mutating table and constraining table?
what are the non-standard sql commands supported by 'mysql'? : Sql dba
Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?
Should I use mbr or gpt?
How do I run a sql trace?
Show how functions and procedures are called in a pl/sql block.
How can you fetch first 5 characters of the string?
Explain select statements in sql?
What is difference between procedure and trigger?