Solutions to SQL Zoo Exercises