Files
Artem YurovandGitHub 28acb87c72 Create query5.sql
insert into ... select
2025-01-09 13:45:05 +03:00

2 lines
231 B
SQL

CREATE DATABASE x; USE x; CREATE TABLE table1 (column UInt32) ENGINE = Memory; INSERT INTO table1 VALUES (0), (1), (5); CREATE TABLE table2 (column UInt32) ENGINE = Memory; INSERT INTO table2 SELECT * FROM table1; DROP DATABASE x;