Naming a database and its tables
A consistent rule for naming a database and its tables, such as a singular noun in lower_case with no spaces or special characters, e.g. student, applied in the same style for every table.
Understanding Naming a database and its tables in VCE Spreadsheets, SQL & Visualisation
What it does: teacher is a singular noun, matching the rule that a table is named after the one type of thing it stores. All three names use lower_case and underscores with no spaces, so the whole database follows one style. Every table should follow the same convention so names are predictable and easy to remember. Symbols like $, #, ! and - can break queries. Stick to letters, numbers and underscores. The first set is all singular and all lower_case. The second mixes singular and plural, and mixes different letter cases. school_library keeps one consistent style and uses an underscore so the name has no spaces.
Common mistakes: A database name must not contain spaces. Use an underscore, as in school_db, so the name follows lower_case with no spaces. Table names should be singular nouns like the others (book, loan). It should be member, not members.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 35–44) and word search (Modules 35–54).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
naming conventionFill in the Blanks
Spot the Error
Student with a class code? Join your class →