what command is used to create a table by copying the
structure of another table?
Answers were Sorted based on User's Feedback
Answer / hokar
SELECT * INTO tabname1 FROM tabname2 WHERE 1=2 (TO copy
only the structure)
| Is This Answer Correct ? | 18 Yes | 4 No |
Answer / naik
select * into oldtable from newtable where oldtable
=newtable
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / kunal sain
create table table_name
as select * from another_table
where 1>2;
| Is This Answer Correct ? | 7 Yes | 9 No |
Answer / narsing
SELECT * INTO tabname1 FROM tabname2 WHERE 1<>2 (TO copy
only the structure)
| Is This Answer Correct ? | 0 Yes | 3 No |
What are different types of statements that are supported by sql?
Difference Between ORDER BY Clause and GROUP BY Clause in SQL?
what is the Surrogate key?and wt is the diff between Primary key and Surrogate Key?
What is difference between process and thread? Explain lazy writer funcationality.
What are the different subsets of sql?
Can we use where and having clause together?
What do you understand by the denormalisation?
On a windows server 2003 active – passive failover cluster, how do you find the node which is active?
What does normalization do to data?
What is store procedure? How do they work? When do you use?
What are the kinds of subquery?
Explain the dirty pages?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)