“Crie tabela a partir da tabela existente no SQL” Respostas de código

Crie tabela a partir da tabela existente no SQL

//this will create new Empty table

CREATE TABLE TableName AS (SELECT * FROM ExistingTable WHERE 1=2);
Magnificent Millipede

Crie uma nova tabela da tabela existente com dados no SQL Server

CREATE TABLE florist 
AS SELECT
  *
FROM product
WHERE category = ’flower’;
Busy Beaver

Crie uma nova tabela da tabela existente com dados no SQL Server

INSERT INTO new_table
SELECT * FROM old_table
Busy Beaver

Respostas semelhantes a “Crie tabela a partir da tabela existente no SQL”

Perguntas semelhantes a “Crie tabela a partir da tabela existente no SQL”

Procure respostas de código populares por idioma

Procurar outros idiomas de código