User Tools

Site Tools


evergreen-reports:sql:borrower:list_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:list_reports [2011/03/08 22:10] – created bshumevergreen-reports:sql:borrower:list_reports [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 11: Line 11:
  
 To run this report, change the **'ORG'** to the shortname of the home library in question. To run this report, change the **'ORG'** to the shortname of the home library in question.
----------------------- 
  
 +<code sql>
 SELECT actor.card.barcode, actor.usr.first_given_name, actor.usr.family_name, actor.usr.email, actor.org_unit.name SELECT actor.card.barcode, actor.usr.first_given_name, actor.usr.family_name, actor.usr.email, actor.org_unit.name
   FROM actor.usr, actor.org_unit, actor.card   FROM actor.usr, actor.org_unit, actor.card
Line 22: Line 22:
 ORDER BY family_name; ORDER BY family_name;
  
-------------------------+</code>
  
 ===== K-12 Student List with Homeroom Stat ===== ===== K-12 Student List with Homeroom Stat =====
Line 34: Line 34:
  
 To run this report, change the [ORG] to the shortname of the home library in question and change the [stat cat id #] to the stat cat id # for your homeroom information. To run this report, change the [ORG] to the shortname of the home library in question and change the [stat cat id #] to the stat cat id # for your homeroom information.
-----------------------+<code sql>
 SELECT acard.barcode AS "Barcode", au.family_name AS "Last Name", au.first_given_name AS "First Name", aua.street1 AS "Street1",  SELECT acard.barcode AS "Barcode", au.family_name AS "Last Name", au.first_given_name AS "First Name", aua.street1 AS "Street1", 
 pgt.name AS "Group Profile", asceum.stat_cat_entry AS "Homeroom", aou.name AS "Library Name" pgt.name AS "Group Profile", asceum.stat_cat_entry AS "Homeroom", aou.name AS "Library Name"
Line 47: Line 47:
  
 ORDER BY 4, 2, 1 ORDER BY 4, 2, 1
-----------------------+</code>
  
 Back to [[evergreen-reports:sql:borrower|Borrower Reports]] page Back to [[evergreen-reports:sql:borrower|Borrower Reports]] page
  
evergreen-reports/sql/borrower/list_reports.1299640245.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.