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


Please Help Members By Posting Answers For Below Questions

What is the use of count (*) in sql?

551


What is an escape character in sql?

566


Why is sql better than hql?

510


Can we create index on primary key?

524


What is rename command in sql?

468






What are field types?

540


What is attribute indicator in pl sql?

526


I need a function for a train ticket reservation please answer it thanks in advance

565


what is the difference difference between procedure and packages

9226


What is java sql connection?

516


Does truncate need commit?

518


Is sql a programming?

549


What is varray in pl sql?

566


What is procedure and function in sql?

534


What are the main features of cursor?

631