In table three columns with 1 milion records(here there is
no sequence values) i want add one more column with
sequence values from the first how it is posible?

Answer Posted / kondeti srinivas

select rownum,tablename.* frome tablename;

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the trigger in sql?

533


What is clustered index in sql?

582


What is fmtonly in sql?

527


Can we use rowid as primary key?

539


What is sql entity?

527






Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

489


What are the main features of cursor?

624


What is the command used to fetch first 5 characters of the string?

878


how are mysql timestamps seen to a user? : Sql dba

559


What is database migration?

515


Is sql the best database?

498


What is procedure function?

535


Why is pl sql used?

523


How to know the last executed procedure?

586


Can we join tables without foreign key?

520