SQL tasks

all 11 tasks