Fixed sql in exercises to include foreign keys