Created
August 26, 2016 15:23
-
-
Save briu/3fa94fb0fee3aedc518393fea81f5c35 to your computer and use it in GitHub Desktop.
interview
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 customers ( | |
source_id integer, | |
name varchar(255) | |
); | |
INSERT INTO customers (source_id, name) values (null, 't1'), (1, 't2'), (2, 't3'), (3, 't5'), (null, 't5'); | |
SELECT COUNT(*) FROM customers WHERE source_id <> 3; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment