Speaking in Tongues solutions

Speaking in Tongues was solved using SQL by 2 contestants. Solution sizes: average 3164 bytes (shortest: 1950; longest: 4378).