# htsql

committed cefc4df

Shortened overly long examples in the tutorial.

# doc/tutorial.rst

`     http://demo.htsql.org`
`     /department{name, avg((course?number>400).credits)}`
` `
`-Numerical aggregates are supported.  This request computes some useful`
`-``course.credit`` statistics (RB6_):`
`+Numerical aggregates are supported.  These requests compute some useful`
`+``course.credit`` statistics (RB6_, RB7_):`
` `
`-.. htsql:: /department{code, min(course.credits), max(course.credits),`
`-                       avg(course.credits)}`
`+.. htsql:: /department{code, min(course.credits), max(course.credits)}`
`+`
`+.. htsql:: /department{code, sum(course.credits), avg(course.credits)}`
` `
` .. _RB6:`
`     http://demo.htsql.org`
`-    /department{code, min(course.credits), max(course.credits),`
`-                      avg(course.credits)}`
`+    /department{code, min(course.credits), max(course.credits)}`
`+`
`+.. _RB7:`
`+    http://demo.htsql.org`
`+    /department{code, sum(course.credits), avg(course.credits)}`
` `
` The ``every`` aggregate tests that a predicate is true for every row in`
` the correlated set.  This example returns ``department`` records that`
` either lack correlated ``course`` records or where every one of those`
`-``course`` records have exactly ``3`` credits (RB7_):`
`+``course`` records have exactly ``3`` credits (RB8_):`
` `
`-.. htsql:: /department{name, avg(course.credits), count(course)}`
`+.. htsql:: /department{name, avg(course.credits)}`
`             ?every(course.credits=3)`
` `
`-.. _RB7:`
`+.. _RB8:`
`     http://demo.htsql.org`
`-    /department{name, avg(course.credits), count(course)}`
`+    /department{name, avg(course.credits)}`
`       ?every(course.credits=3)`
` `
` `
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.