Created
September 28, 2013 14:49
-
-
Save oehme/6742828 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
select ( | |
T_BOOK.ID * T_BOOK.AUTHOR_ID, | |
T_BOOK.ID + T_BOOK.AUTHOR_ID * 3 + 4, | |
T_BOOK.TITLE || " abc" || " xy" | |
) | |
from T_BOOK | |
leftOuterJoin ( | |
f select (x.ID, x.YEAR_OF_BIRTH) | |
from x | |
limit 1 | |
asTable x.getName() | |
) | |
on T_BOOK.AUTHOR_ID === x.ID | |
where (T_BOOK.ID <> 2) | |
or (T_BOOK.TITLE in ("O Alquimista", "Brida")) | |
fetch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment