(no title)
eric_the_read | 7 years ago
SELECT field, other_field
FROM table
WHERE some_thing IN (
SELECT id
FROM other_table
)
AND other_field IS NOT NULL
(mostly it's right-aligning keywords, but there are a few other weird tweaks)
zeroimpl|7 years ago
FelipeCortez|7 years ago
mjibson|7 years ago
ComputerGuru|7 years ago
overcast|7 years ago
jerrysievert|7 years ago
* ORDER BY
* INNER JOIN
etc