SQA Higher Administration and IT Databases: a complete overview of relational structure and relationships, advanced searching and calculations, and forms, reports and output
A deep-dive SQA Higher Administration and IT guide to relational databases. Covers the relational structure (tables, fields, records, primary and foreign keys, relationships), advanced searching (queries, AND/OR, operators, wildcards, sorting) and calculations, and forms, reports and exporting, with worked examples.
Reviewed by: AI editorial process; not yet individually human-reviewed
Jump to a section
What databases actually demand at Higher
Databases are one of the IT applications you must use confidently in Higher Administration and IT, and at Higher the database is relational, more than one linked table. The SQA expects you to understand the structure and relationships, search with advanced functions, calculate within queries and reports, and use forms, reports and exporting to enter and present data. As with spreadsheets, you meet this both in the assignment (building a working database) and the question paper (explaining keys, AND vs OR, or what a calculated field or grouped report is).
This guide walks through the whole area, then sets out how it is examined. Each topic has a matching dot-point page with practice questions; this overview ties them together.
Relational structure and relationships
A relational database stores data in tables (one per entity), made of fields (columns) and records (rows), each field with a data type. A primary key uniquely identifies each record; a foreign key stores another table's primary key to create a relationship, usually one-to-many (one customer, many orders). Linking tables this way removes the duplication of a flat file, so each fact is stored once, data stays consistent, and updates are made in one place. This structure is the foundation for everything else.
Advanced searching and calculations
Data is found with queries. Advanced searching combines criteria with AND (narrows) and OR (widens), uses comparison operators and Between for ranges, wildcards for partial text, and sorting (including multi-level). Queries and reports can also calculate: a calculated field derives a value from other fields (a line total) and recalculates automatically, while summary totals group records and aggregate them (total sales per region). Because the tables are related, a single query can search and calculate across several at once.
Forms, reports and output
Finally, the database must let users enter and present data. A form gives a clear, controlled screen for data entry (drop-downs, required fields, validation), reducing errors. A report presents data for printing; a grouped report organises records by category with subtotals and a total. Results can be printed in a range of formats and exported to a spreadsheet (for charts and calculation), a word processor (for a mail merge or report) and a presentation, reusing data without re-keying.
How databases are examined
A typical SQA profile:
- Define and explain. Field vs record; primary vs foreign key; what a relationship is.
- Explain logic. AND vs OR; comparison operators and wildcards; sorting.
- Describe a feature. A calculated field, a summary total, a form's advantages, a grouped report.
- Apply it. The assignment requires building the tables, relationships, queries, forms and reports.
Check your knowledge
A mix of recall and explanation questions covering databases. Attempt them, then check against the solutions.
- Define "field" and "record". (2 marks)
- What is the purpose of a primary key? (2 marks)
- What does a foreign key do? (2 marks)
- Explain the difference between AND and OR in a search. (2 marks)
- What is a calculated field? (2 marks)
- State one advantage of using a form to enter data. (1 mark)
Sources & how we know this
- Higher Administration and IT Course Specification — SQA (2024)