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

what command is used to create a table by copying the
structure of another table including constraints ?

Answer Posted / ben

crete view (view_name) as
select * from (table);

In SQL, a view is a virtual table based on the result-set of an SQL statement.

A view contains rows and columns, just like a real table. The fields in a view are fields from one or more real tables in the database.

i think this is the right answer

:)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many sql databases can you have on one server?

1082


What does the argument [or replace] do?

1082


how to rename an existing table in mysql? : Sql dba

1064


What is the use of function in sql?

1094


How many indexes can be created on a table in sql?

1055


How do I restart sql?

972


What are all ddl commands?

1085


What is an emotional trigger?

1005


How to display the records between two range in Oracle SQL Plus?

1146


What does 0 mean in sql?

965


What are the different tcl commands in sql?

1175


What is data abstraction in sql?

1031


Why do we use joins?

1038


what are the non-standard sql commands supported by 'mysql'? : Sql dba

1120


what is acid property in database? : Sql dba

1029