Last active
August 29, 2015 14:23
-
-
Save zer0her0/0e2d07105951a4502feb to your computer and use it in GitHub Desktop.
EDHDB-MySQL-Clipboard
This file contains hidden or 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
| SELECT * FROM edhdb.listing_records WHERE cmdty_id = 1; | |
| SELECT * FROM edhdb.listing_records WHERE cmdty_id = 42; | |
| SELECT * FROM edhdb.station JOIN edhdb.listing_records USING (sta_id); | |
| SELECT * FROM edhdb.station JOIN edhdb.listing_records USING (sta_id) WHERE cmdty_id = 42; | |
| SELECT DISTINCT sta_id FROM edhdb.station JOIN edhdb.listing_records USING (sta_id) WHERE cmdty_id = 42; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment