Database Developer Question:

Explain me the SELECT INTO statement?

Tweet Share WhatsApp

Answer:

The SELECT INTO statement copies data from one table into a new table. The new table will be created with the column-names and types as defined in the old table. You can create new column names using the AS clause.

SELECT * INTO newtable FROM oldtable WHERE condition;

Download Database Developer PDF Read All 70 Database Developer Questions
Previous QuestionNext Question
Tell me what is a CHECK constraint?Tell me when are we going to use truncate and delete?