SQL tasks upto 8