evergreen-reports:circulation_statistical_reports
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
evergreen-reports:circulation_statistical_reports [2010/05/14 10:53] – terlaga | evergreen-reports:circulation_statistical_reports [2011/03/08 22:06] (current) – removed bshum | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Circulation Statistical Reports ====== | ||
- | |||
- | ===== Daily Circulation Stats by Shelving Location and Library ===== | ||
- | |||
- | **Submission Notes:** | ||
- | This report was submitted on 5/14/10 by Amy Terlaga of Bibliomation, | ||
- | It was originally created by Dan Scott of Laurentian University. | ||
- | **Version**: | ||
- | **Data Sources Used**: | ||
- | **Running Tips/ | ||
- | getting daily circulation totals. | ||
- | If you would like it to reflect activity from two days ago, change the **1** to a **2** (and so on). | ||
- | Where you see ORG, replace with your org unit's short name. | ||
- | --------------------------- | ||
- | |||
- | SELECT copy_location.name, | ||
- | FROM action.circulation | ||
- | JOIN actor.org_unit ON circulation.circ_lib = org_unit.id | ||
- | JOIN asset.copy ON copy.id = circulation.target_copy | ||
- | JOIN asset.copy_location ON copy.location = copy_location.id | ||
- | WHERE org_unit.shortname = ' | ||
- | GROUP BY copy_location.name | ||
- | UNION | ||
- | | ||
- | FROM action.circulation | ||
- | JOIN actor.org_unit ON circulation.circ_lib = org_unit.id | ||
- | JOIN asset.copy ON copy.id = circulation.target_copy | ||
- | JOIN asset.copy_location ON copy.location = copy_location.id | ||
- | WHERE org_unit.shortname = ' | ||
- | ORDER BY 1; | ||
- | --------------------------------- | ||
- | |||
- | |||
- | Back to [[evergreen-reports: | ||
evergreen-reports/circulation_statistical_reports.1273848802.txt.gz · Last modified: 2022/02/10 13:33 (external edit)