sql exercises 1-3