Created
May 28, 2019 08:00
-
-
Save briu/6d7444b3666f05bac7e239c333368bad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE orders ( | |
id integer, | |
name varchar(255), | |
address varchar(255) | |
); | |
CREATE TABLE order_items ( | |
id integer, | |
price integer, | |
order_id integer, | |
quantity integer | |
); | |
# select orders where id is even and have more then 3 order_items | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment