Example 1: If we wanted to make sure we have unique library patrons, we could look for addresses to make sure we are only seeing unique addresses and no duplicates
Example 2: Looking at books we might want to make sure we are looking at a distinct or unique catalog of books, without duplication so we can take accurate inventory of what we might be missing
SQL ascending and descending
We can also easily organize our data
Asking the database to give results in any order or organizational pattern we want without changing the data can give us the ability to play with the data in more ways
SQL has the options of Ascending or Descending
These are denoted by ASC and DESC functions, These are used by saying ORDER BY