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 nested table in pl sql?

739


What is consistency?

884


how is myisam table stored? : Sql dba

779


Which certification is best for sql?

723


How do you pronounce sql?

723






how to use myisamchk to check or repair myisam tables? : Sql dba

708


What are the benefits of triggers?

887


Explain mutating table error.

837


Can we perform dml on view?

735


How subquery works in sql?

725


What is a primary key sql?

757


What is trigger and how to use it in sql?

723


How do I truncate a sql log file?

732


What are the sql commands?

790


What is rollback?

784