User Tools

Site Tools


evergreen-reports:sql:borrower:statistical_reports

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
evergreen-reports:sql:borrower:statistical_reports [2011/03/08 22:11] – created bshumevergreen-reports:sql:borrower:statistical_reports [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 11: Line 11:
  
 Run this report any time in the month directly following the month you would like to capture statistics for. Run this report any time in the month directly following the month you would like to capture statistics for.
---------------------------------------------------------------+ 
 +<code sql>
  SELECT aou.name AS "Library", pgt.name AS "Profile", asceum.stat_cat_entry AS "Residency", count(pgt.name) AS "Count"  SELECT aou.name AS "Library", pgt.name AS "Profile", asceum.stat_cat_entry AS "Residency", count(pgt.name) AS "Count"
    FROM actor.usr au    FROM actor.usr au
Line 22: Line 23:
   GROUP BY aou.name, pgt.name, asceum.stat_cat_entry   GROUP BY aou.name, pgt.name, asceum.stat_cat_entry
  
-   
  UNION  UNION
  
Line 35: Line 35:
  
  ORDER BY 1, 2, 3;  ORDER BY 1, 2, 3;
- +</code>
-------------------------------------+
  
  
 Back to [[evergreen-reports:sql:borrower|Borrower Reports]] page Back to [[evergreen-reports:sql:borrower|Borrower Reports]] page
  
evergreen-reports/sql/borrower/statistical_reports.1299640283.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.