All courses
Data Management I
From a shoebox of receipts to a database that never forgets
Start the course First: Data, Information and Information Management
The route
Lessons are in the order that makes each one easier than the last. Each unit ends with a short quiz.
- 0/4Unit 1
Information Management Concepts
Facts are cheap; answers are valuable. How data is captured, represented, stored, indexed, protected and scaled before any database query is written.- Data, Information and Information ManagementFree A shoebox of receipts is data; knowing which customer owes you money is information. 11 min
- Information Capture and Representation Garbage in, garbage out, so the first job is getting facts in cleanly and in a shape a computer can use. 11 min
- Information Storage, Retrieval and Indexing Finding one customer among twenty million in a blink is not magic; it is file organisation and a good index. 13 min
- Information Privacy, Analysis and Scalability Keeping people's data safe, squeezing insight out of it, and staying standing when twenty million users log in on salary day. 12 min
- Unit 1 quiz6 questions on this unit 8 min
- 0/4Unit 2 Full plan
Database Systems and Architecture
Why one shared database beats a cupboard of separate files, what a DBMS does all day, and how three levels of description keep apps safe from change.- The File-Based Approach and the Database Approach Why every department keeping its own spreadsheet ends with three different phone numbers for the same student. 12 min
- Components of a Database System and Functions of a DBMS Hardware, software, data, procedures and people, and the quiet list of jobs the DBMS does for all of them. 12 min
- The ANSI/SPARC Three-Schema Architecture and Data Independence Three views of the same data, so the storage can change without breaking a single app. 12 min
- Data Models: Hierarchical, Network, Relational and Semi-Structured Trees, webs, tables and self-describing documents, four ways of giving data a shape. 13 min
- Unit 2 quiz6 questions on this unit 8 min
- 0/4Unit 3 Full plan
Entity-Relationship Modelling
Drawing the world before building the tables, with boxes, diamonds and the lines between them.- Entities, Attributes and Keys in the ER Model Before a single table exists, sketch the things the business cares about and what it needs to know about each. 12 min
- Relationship Types, Cardinality Ratios and Participation Constraints The lines between the boxes carry the business rules, such as one doctor many patients, or no ward without a hospital. 12 min
- The Enhanced Entity-Relationship (EER) Model Every lecturer and every cleaner is staff, but only one of them has a research area, and the model should know that. 11 min
- Mapping an ER Schema to Relations Seven mechanical rules turn every box, diamond and oval into tables, keys and foreign keys. 13 min
- Unit 3 quiz6 questions on this unit 8 min
- 0/4Unit 4 Full plan
The Relational Model and Relational Algebra
Codd's big idea that everything is a table, the keys that hold tables together, and the small algebra every SQL query secretly becomes.- The Relational Model: Relations, Tuples, Attributes and Domains A table looks ordinary, but in Codd's model it is a mathematical set with strict rules. 11 min
- Relational Keys and Integrity Constraints Superkeys, candidate keys, primary keys and foreign keys, and the two rules that stop a database contradicting itself. 13 min
- Relational Algebra: Selection, Projection and Rename Three operations that cut a table horizontally, cut it vertically, and give the pieces new names. 12 min
- Relational Algebra: Set Operations, Joins and Division Combining two tables is where the real questions get answered, and where the classic slips happen. 14 min
- Unit 4 quiz6 questions on this unit 8 min
- 0/5Unit 5 Full plan
Structured Query Language (SQL)
Talking to a database in its own language, from creating tables to joins, groups, subqueries and the optimiser that makes them fast.- SQL Data Definition Language (DDL) Before a single row goes in, tell the database exactly what a valid row looks like. 12 min
- SQL Data Manipulation: INSERT, UPDATE, DELETE and SELECT Put rows in, change them, take them out, and ask for exactly the ones you want. 13 min
- SQL Joins, Aggregate Functions and Grouping Stitch tables back together, then count, total and average whole groups of rows at once. 14 min
- Subqueries and Views A query inside a query answers questions in two steps; a view saves a query and lets people use it like a table. 13 min
- Query Processing and Optimisation The same question can be answered in a second or in an hour; the optimiser's whole job is to pick the second. 13 min
- Unit 5 quiz7 questions on this unit 9 min
- 0/5Unit 6 Full plan
Normalisation, Security and Transaction Management
Designing tables that do not contradict themselves, keeping intruders out, and making sure a failed transfer never loses a single naira.- Update Anomalies and Functional Dependencies When one fact is stored in many rows, the table starts to contradict itself, and functional dependencies show exactly why. 13 min
- Normalisation: First, Second and Third Normal Forms Three tests applied in order, each one removing a kind of repetition, until every fact lives in exactly one place. 14 min
- Boyce-Codd Normal Form and Properties of Decomposition The stricter cousin of 3NF, and the two promises every good split of a table must keep. 12 min
- Database Security and Integrity Keep the wrong people out, keep the right people within their limits, and keep the data itself honest. 13 min
- Transaction Management, Concurrency Control and Recovery How a bank lets a million people move money at once, survives a power cut mid-transfer, and never loses a naira. 15 min
- Unit 6 quiz7 questions on this unit 9 min