A3.1 Database fundamentals - IB Diploma Class 12 Computer Science Notes, Diagrams and Solved Questions

How relational databases store data in linked tables: records and fields, primary, foreign and composite keys, relationships, data types, redundancy and integrity, the DBMS and the three levels of schema.

In this chapter

  • Tables, records (tuples) and fields (attributes), with the benefits and limitations of relational databases
  • Primary, foreign and composite keys, and testing whether a key is valid
  • One-to-one, one-to-many and many-to-many relationships and link tables
  • Choosing data types and estimating storage
  • Data redundancy, inconsistency and entity, referential and domain integrity
  • The role of the DBMS: definition, queries, integrity, security, concurrency, backup
  • Conceptual, logical and physical schemas
  • Iteration 3: keys for harder scenarios, constraints in a real DBMS, evaluating a relational design