Skip to main content

Koha SQL: List of Books by Author

List all cataloged titles sorted by author name. Copy this query into Koha Staff Interface → Reports → Create from SQL.

SQL Query

SELECT bib.author, bib.title, bi.isbn, i.barcode, i.itemcallnumber FROM biblio bib JOIN biblioitems bi ON bib.biblionumber = bi.biblionumber LEFT JOIN items i ON bib.biblionumber = i.biblionumber ORDER BY bib.author ASC;

Sample Output

barcode_or_idtitlestatus_or_detail
BC-000101Sample Library Title 1Active
BC-000102Sample Library Title 2Active
BC-000103Sample Library Title 3Needs Review

How to Run in Koha

  1. Log in to the Koha Staff Interface and open Reports.
  2. Click Create from SQL.
  3. Paste the SQL above, give it a clear name, and click Save report.

Contact: mahsandu@gmail.com · 01916303060

Comments

Popular posts from this blog