into sql
snippet in sql

sql create as select

user5541


CREATE TABLE new_table_name AS
    
  SELECT column1, column2,...
    FROM 
  existing_table_name
    WHERE ....; 

SELECT INTO

user6846

	SELECT * INTO nome_da_tabela_que_estao_a_mexer_BKP
	FROM nome_da_tabela_que_estao_a_mexer

sql select into

user3465


SELECT CustomerName, ContactName INTO CustomersBackup2017

FROM Customers; 

into sql

user4791

#The SELECT INTO statement selects data from one table and inserts it into a different table. 
#The SELECT INTO statement is most often used to create backup copies of tables. 
syntax->SELECT *
INTO new_table_name [IN externaldatabase]
FROM old_tablename 
///example///
SELECT *
INTO Persons_Backup
FROM Persons