Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. How to get the list of items that get circulated in the past year?

    How to get the list of items that get circulated in the past year?

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 16.02

    Description:
    We need create a report of list items that got circulated in the past year. In that report we need to have titles.barcode,call No, Number of Loans.

    Resolution:
    The following SQL will give you the title, barcode,call No, Number of Loans for items which circulated in the past year. The number of loans is the number of loans in *all* years. If you want the number of loans just for last year, that would be a bit more complicated....

    SQL-LNL50> select unique Z13_TITLE, Z30_BARCODE, Z30_CALL_NO, z30_no_Loans from LNL01.Z13, Z30, Z103, Z35 where z30_rec_key = z35_rec_key || to_char (z35_item_sequence, 'FM000000') and z35_event_date >= '20060415' and z35_event_date <= '200704015' and z35_event_type like '5%' and 'LNL01' || Z13_REC_KEY = Z103_REC_KEY_1 and substr (Z103_REC_KEY,1,14) = 'LNL50' || substr (Z30_REC_KEY,1,9);

    Additional Information

    faq


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to get second https Aleph running on a server
      • How to get USMnn Oracle tables / Demo libraries
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 16.02
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved