Anyone who writes SQL for their library system will eventually be tasked with producing a report which challenges not only their SQL chops but also their organizational skills, mental health and possibly the timeout limit of the database as well. Using some real-life query examples from
this behemoth , we'll review different techniques and considerations when undertaking such a project. While the SQL syntax and database tables in the examples will be particular to Sierra, the concepts of CTEs, window functions, temp tables, indexes, set operations, research and the Divide-and-Conquer approach are common to both ILSes; Polaris users are encouraged to attend and participate. Due to the limitations of a one hour session, all attendees are encouraged to review portions of the
aforementioned behemoth in advance of the presentation to form questions.