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 / mohamed shahid

CREATE TABLE T AS SELECT ROWNUM AS seq,emp.* FROM emp;

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql profiler in oracle?

560


How many joins in sql?

551


What is data definition language?

619


What is the use of function "module procedure" in pl/sql?

665


What is not equal in sql?

509






What are the different sql commands?

513


How to fetch values from testtable1 that are not in testtable2 without using not keyword?

750


What are the different datatypes available in PL/SQL?

564


What is a full join sql?

591


Why do we create stored procedures & functions in pl/sql and how are they different?

500


What are the different ddl commands in sql?

576


What is %rowtype in pl sql?

511


Explain some predefined exceptions.

582


What is the difference between syntax error and runtime error?

612


Explain the significance of the & and && operators in pl sql.

567