Skip to main content

Posts

Showing posts with the label Library Administration

Koha Title-Wise Administrative Collection Report (SQL)

For library administration, accreditation audits, and collection development, an item-by-item list is often too granular. A Title-Wise Administrative Report groups holdings by bibliographic record while summarizing copy counts, live availability, and total collection value. Below is a production-ready, institution-agnostic SQL report you can paste directly into Koha → Reports → Create from SQL . Title-Wise Administrative Report SQL SELECT b.biblionumber AS Biblio_ID, IFNULL(NULLIF(TRIM(BOTH ' /:;.,' FROM REGEXP_REPLACE( CONCAT_WS(' : ', NULLIF(TRIM(BOTH ' /:;.,' FROM b.title), ''), NULLIF(TRIM(BOTH ' /:;.,' FROM ExtractValue(bm.metadata, '//datafield[@tag="245"]/subfield[@code="b"]')), '') ), '[[:space:]]+', ' ' )), ''), '-') AS Title, IFNULL(NULLIF(TRIM(BOTH ' /:;.,' FROM REGEXP_REPLACE(b.author, ...