adding sql exercise 9