Created
February 2, 2015 01:59
-
-
Save KWKdesign/84d2759ae84243271e93 to your computer and use it in GitHub Desktop.
Schemaverse Planet Rename Demonstration
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 row_number, ( case row_number % 12 | |
when 0 then 'Aethra' | |
when 1 then 'Mony' | |
when 2 then 'Semper' | |
when 3 then 'Voit' | |
when 4 then 'Lester' | |
when 5 then 'Rio' | |
when 6 then 'Zergon' | |
when 7 then 'Cannibalon' | |
when 8 then 'Omicron Persei' | |
when 9 then 'Urectum' | |
when 10 then 'Wormulon' | |
when 11 then 'Kepler' | |
end ) || '_' || ( ( row_number / 12 ) + 1 )::text | |
from generate_series( 0, 12 ) as row_number; | |
-- schemaverse planet naming demonstration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment