Created
May 9, 2022 04:02
-
-
Save brianspiering/3acee433c1d1f885b1ad92f2cb3765f1 to your computer and use it in GitHub Desktop.
SQL style example
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 f.foo, | |
b.bar, | |
case | |
when f.foo = 'hello' | |
then 'goodbye' | |
else b.bar | |
end as something_calculated, | |
some_long_expression | |
from fooz f | |
join baz b | |
on f.baz_id = b.id | |
where b.bar is not null | |
and f.foo <> 'something random' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment