Advertisement
tom_schreiber

imdb_xlarge.actors_unsorted

Jun 22nd, 2023
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.22 KB | Source Code | 0 0
  1. CREATE TABLE imdb_xlarge.actors_unsorted
  2. ENGINE = MergeTree
  3. ORDER BY (first_name, last_name, gender)
  4. EMPTY AS SELECT * FROM imdb_xlarge.actors;
  5.  
  6. INSERT INTO imdb_xlarge.actors_unsorted
  7. SELECT * FROM imdb_xlarge.actors;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement