Created query.php example

This is an example of how a query should be done.