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...

How to get the 3rd column(i.e all the data along with the
column name)in a table?

Answer Posted / ramesh

Column Names of a table are stored in the data dictionary
table user_tab_columns along with column_id. By referring
column_id we can display the column name as :

select column_name from user_tab_columns where table_name
= 'EMP' and column_id = 3;

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get help at the sql prompt?

1071


What is difference between sql and mysql?

1077


What is multiple columns?

1021


how do you know the version of your mysql server? : Sql dba

957


Cite the differences between execution of triggers and stored procedures?

1046


Write a sql select query that only returns each name only once from a table?

971


What do you know by pl/sql cursors?

1058


What are the basic sql commands?

1051


What are tables in sql?

1014


How to create an array in pl/sql?

1028


What is a variable in sql?

964


What is the use of desc in sql?

930


What is cursor in pl sql with examples?

970


Which certification is best for sql?

951


How can we make an if statement within a select statement?

972