Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 table? : Sql dba

1062


what are the limitations of identity column? : Transact sql

1108


How to run sql commands in sql*plus?

1180


Is id a reserved word in sql?

1145


Show code of a cursor for loop.

1054


Why do we use %rowtype & %type in plsql?

1048


what is commit? : Sql dba

1071


What is trigger in sql?

1097


How do I edit a trigger in sql developer?

993


What is primary key and unique key?

1119


What is a Mapplet?

1120


Explain the the delete statements in sql?

1062


Where is sql database stored?

979


In what condition is it good to disable a trigger?

1010


Can we create clustered index without primary key?

962