This document discusses using SQL to generate reports from the Koha database. It provides an overview of the Koha database structure and examples of SQL queries to retrieve data from single and multiple tables. Common SQL functions, date/time functions, and WHERE clauses are also described. Sample SQL queries are given to report on patrons with fines, long overdue items, items circulated from non-owning branches, and new children's books added to a specific library.