This document discusses restricting and sorting data in SQL. It covers:
1. Using the WHERE clause to limit rows returned by specifying conditions like column comparisons, BETWEEN, IN, LIKE, and IS NULL.
2. Applying logical operators LIKE AND, OR, and NOT in WHERE clauses.
3. Using the ORDER BY clause to sort rows by one or more columns in ascending or descending order.
4. Leveraging substitution variables in SQL*Plus like & and && to make queries more flexible by prompting for values.