Skip to content
SPM Tuition
Computer Science chapter guide

Database development

You can design one table, but linking, joining and querying several tables feels like a jump.

Database development turns a raw list of facts into linked tables and then gets answers out of them. The order is normalise, join, summarise and check.

This guide follows data and databases and sits in SPM Computer Science.

Why do the steps come in this order?

Take a sports day register where each row lists a student, their house, the house teacher and up to three events. The house teacher repeats for every student, and the events crowd into three columns.

Normalising splits the register into Student, House and Entry tables. Joins then bring the facts back together for a report, aggregation counts entries per house, and integrity checks make sure every entry points to a real student.

What are the lessons?

Step Lesson What it trains
1 Normalising a small data set splitting repeated facts
2 Joining related tables querying across keys
3 Aggregation and filtering counting and summing
4 Checking referential integrity keeping links valid

Then test all four with the database development practice set.

Where does SQL reasoning fit?

For a slower look at how queries behave on small fictional data, go to SQL reasoning in a fictional database. It predicts outputs before running anything, which builds the habit exams reward.

Who should start where?

A student who has just learnt keys should begin with normalising. A student who writes SELECT comfortably but breaks on two tables should go to joins.

A student who wants a teacher to watch them work can use the one-hour trial class (from RM50), a taught lesson on the Computer Science topic you choose. See also online one-to-one Computer Science tuition.

Common questions

What is the difference between this guide and data and databases?

The data and databases guide covers entities, keys, diagrams and simple queries on one table. This guide moves on to splitting a data set into several tables, joining them in queries, summarising results and keeping links valid.

Do I need to finish the earlier guide first?

It helps. Joins and normalisation both depend on primary and foreign keys. If keys still feel shaky, read the data and databases lessons first, then return here.

How much SQL does my course need?

It depends on your school and the syllabus scope. Confirm what is required with your teacher and the Lembaga Peperiksaan website. The reasoning skills here, such as predicting rows, help whichever forms your course uses.

If working across several tables is where you lose marks, one-to-one Computer Science lessons let a teacher build a small database with you and query it together.

  • Online one-to-one lessons for your child with an experienced teacher.
  • Your first class is a one-hour trial, from RM50. The fee is agreed before you book.
  • Happy with the teacher? Continue with lessons of about 1.5 hours. If not, ask for another teacher.