Jak utworzyć pustą tabelę z istniejącej tabeli
CREATE TABLE suppliers
AS (SELECT *
FROM companies WHERE 1=2);
Viper
CREATE TABLE suppliers
AS (SELECT *
FROM companies WHERE 1=2);
CREATE TABLE new_table
AS (SELECT *
FROM old_table WHERE 1=2);