complete SQL hw