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
What has stored procedures in sql and how we can use it?
How do I enable sql encryption?
How do you go back in sql?
What does select * from mean in sql?
What is multiple columns?
Can we have two clustered index on a table?
Does execute immediate commit?
What is the purpose of normalization?
What does data normalization mean?
explain the options of myisamchk to improve the performance of a table. : Sql dba
how do you control the max size of a heap table? : Sql dba
What is schema in sql example?
Can we use join in subquery?
what are the authentication modes in sql server? How can it be changed? : Sql dba
Does a user_objects view have an entry for a trigger?