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 find Bib/ADM records with more than nnn items

    How to find Bib/ADM records with more than nnn items

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    How can we find the records with the most items attached to them?

    Resolution

    The following SQL can be used to find the largest number of items for a particular ADM record, in ascending order, ending with the ADM with the largest number of items:

    > s+ xxx50
    SQL> select substr (z30_rec_key,1,9), count(*) from z30 group by substr (z30_rec_key,1,9) having count(*) > 300 order by count(*) ASC;

    [The "300" can be increased to limit the results to larger numbers of items.]
     

     


    • Article last edited: 12-Mar-2017
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to extract Aleph Course Reserves records (for migration to different ILS)
      • How to find Course doc records which have no items linked to them
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. contype:kba
      2. items
      3. max
      4. Prod:Aleph
      5. z30
    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