Created
April 4, 2015 00:52
-
-
Save nakamura-to/47e0f1a58d236d8fac8b 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 | |
age, name, birthday | |
from | |
person | |
order by | |
/*%if mode == 1 */ | |
age, name | |
/*%elseif mode == 2 */ | |
/*# "name, age" */ | |
/*%else */ | |
/*# "birthday" */ | |
/*%end */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment