Create homework3.sql

The third query assignment for database systems.