finished apartment sql homework