Expand and correct examples.
Add notes about chaining.
Add docs on using literal values in SQL functions.