Sql HW 1. Revised.

Added comments.
Fixed Syntax errors.