Skip to content

Instantly share code, notes, and snippets.

@kdbanman
Last active May 16, 2017 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdbanman/1a0e148311eb645573db1075502286f9 to your computer and use it in GitHub Desktop.
Save kdbanman/1a0e148311eb645573db1075502286f9 to your computer and use it in GitHub Desktop.
Test SQL to create tables in https://dba.stackexchange.com/q/173743/77371.
CREATE TABLE t1 (id, count_1)
AS
VALUES
(1,9),
(2,4),
(3,3);
CREATE TABLE t2 (id, count_2)
AS
VALUES
(1,2),
(3,3);
CREATE TABLE t3 (id, count_3)
AS
VALUES
(1,1),
(4,8);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment