SQL TD4

May be errors. Correct them please. c: