Solutions to the SQL coursera course questions