SQL reports in Koha can be intimidating. One of the key resources to learn how to more effectively create, edit and read the results of SQL reports within Koha is the database schema site. This site provides a map of the database which includes the specific tables, the content therein and the links between the tables. This information can be used to create reports and also to understand why certain tables were used in existing reports.
To request a report, please fill out the report request form on our
support site.
Navigate to the table schema
Go to Reports > Other > Koha database schema.
This will open a page in a new tab. This page will contain an overview of the tables that make up the database schema.
How to locate a specific table
The table containing the names of the tables in the Koha database is sorted alphabetically by table name by default. To find a specific table, use the Search box above the table containing the names of the tables in the Koha database.
This search will narrow down the table so only entries that match the search will be included.
How to view the content of a table
Click the name of the table to see the content of the table.
This will open a new page with details of the fields in the table.
This page will also include a diagram of how the table links up to other tables in the database.
How to find a specific column in the database
Go to the Columns tab across the top of the home page.
This will open a page where all the column names in the database. These are the different fields that make up a table.
Use the search box at the top of the table to search for a specific field in the database.
This will narrow the table down to tables which contain the field being searched for.
| Version | Date | Detail | Author |
| 1.0 | 13/03/26 | Document created | Holly Cooper |
| 1.1 | 16/03/26 | Adding details | Holly Cooper |
| 1.2 | 02/04/26 | Adding details | Holly Cooper |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|