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

What is file based approach?

663


What is the use of function in sql?

732


What is cursor and why it is required?

795


What is a relationship and what are they?

783


What do you mean by table in sql?

696






How do you create a unique index?

775


What is not in sql?

669


What are reports usually used for?

762


What are the uses of merge?

896


Is sql better than access?

716


Do ddl statements need commit?

726


What is the difference between the conventional and direct path loads? : aql loader

909


What is record type in pl sql?

749


What is dialect in sql?

703


how does a local variable is defined using t-sql? : Transact sql

731