SlideShare a Scribd company logo
Key Database Terms

    COMP3 – 3.3.5
Learning Outcomes
• By the end of this lesson;
  – You will all be able to describe a relational
    database
  – You will all be able to define a number of key
    database terms
  – You will begin creating a basic Access
    database
Relational Database
A relational database has more than one table and the
tables are linked using key fields. For example, a library
database could have three tables:

   – customer - when a customer joins the library a record is
     created. It stores their details such as their first name and
     surname and includes a unique Customer ID.
   – book - each book in the library has a record. It stores
     details about the book, such as the author and title and
     includes a unique book ID.
   – lending - when a customer borrows a book, the lending
     table stores the customer's unique ID and the book's
     unique ID in a record. The record could also include
     additional information such as when the book was
     borrowed and when it's due back.
Relational Database
Advantages
  – The book's details and the customer's details need only be
    entered into the database once.
  – Because of this, mistakes are less likely to happen and if
    there were a mistake in a customer's record, for
    example, correcting it will correct the mistake database-
    wide.
  – Duplication is avoided - this keeps the database's file size
    down.
  – Details about books and customers are easily accessible
    using their unique IDs.
  – Queries can be performed and reports generated, eg a list
    of books a customer has borrowed since joining the library.
Key Terms
• Attribute
   – The field names and data types that are in a database
• Primary Key
   – A unique identifier for a row within a table
• Composite key
   – If there is no unique identifier then a combination of two or
     more attribute is used to identify the row.
• Foreign key
   – An attribute in a table that is the primary key of another
     table
• Referential integrity
   – Since there is related data in several tables in a
     relationship data, updates to one table may require
     updates to related tables. The need to cascade updates
     across more than table is called Referential Integrity
Task 1
• On Jogle you need to;
  – Describe what is meant by a relational
    database, using an example.
  – Define each of the 5 key terms
Task 2
• You will need to create an Access
  database for your online gaming website
  you planned in yesterdays lesson. You
  should be able to explain where you have
  used each of the 5 key terms.

More Related Content

PPTX
PPTX
DBMS
PPTX
Relational Database Management System
PPT
overview of database concept
PPTX
Presentation of DBMS (database management system) part 1
PPTX
RDBMS
DOC
rdbms-notes
PPTX
DBMS
Relational Database Management System
overview of database concept
Presentation of DBMS (database management system) part 1
RDBMS
rdbms-notes

What's hot (20)

PDF
Introduction to Database
PPT
PPT
D B M S Animate
PPTX
Database Basics
PDF
Introduction to RDBMS
PPTX
Database Management System
PPT
Database Systems Introduction (INTD-3535)
PPTX
Database management system
PPT
Lecture 01 overview of dbms
PPTX
Database systems
PPT
Good PPT for RDBMS starter
PPTX
Database Management Systems 1
PPTX
DBMS - Distributed Databases
PPT
TID Chapter 10 Introduction To Database
PPTX
Introduction to DBMS(For College Seminars)
PPT
Database an introduction
PPTX
introduction to database
PPTX
Introduction to database
PPTX
Relational database
Introduction to Database
D B M S Animate
Database Basics
Introduction to RDBMS
Database Management System
Database Systems Introduction (INTD-3535)
Database management system
Lecture 01 overview of dbms
Database systems
Good PPT for RDBMS starter
Database Management Systems 1
DBMS - Distributed Databases
TID Chapter 10 Introduction To Database
Introduction to DBMS(For College Seminars)
Database an introduction
introduction to database
Introduction to database
Relational database
Ad

Viewers also liked (20)

PPTX
Slide 5 keys
PPTX
DBMS Keys
PPT
Database Keys
PPTX
Key and its different types
PPTX
Key-Database Management
ODP
Relational keys
PPTX
Introduction to database
PPTX
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
PPTX
Dbms slides
PPTX
PPT
Database concepts by vaishali sahare[katkar]
PDF
PPTX
Concept of Relational Database and Integrity Constraints [DIFFERENCE BETWEEN ...
PPTX
Relational Data Base
PPT
functional dependencies with example
PPTX
Functional dependency
PPTX
Enhanced ER(database)
PPT
08 c++ Operator Overloading.ppt
PDF
Data integrity
Slide 5 keys
DBMS Keys
Database Keys
Key and its different types
Key-Database Management
Relational keys
Introduction to database
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
Dbms slides
Database concepts by vaishali sahare[katkar]
Concept of Relational Database and Integrity Constraints [DIFFERENCE BETWEEN ...
Relational Data Base
functional dependencies with example
Functional dependency
Enhanced ER(database)
08 c++ Operator Overloading.ppt
Data integrity
Ad

Similar to Key database terms (20)

PPT
2 Relational Database Concepts.ppt
PPTX
18 database features
DOC
5.01 Activity Notes A
PPTX
C1 basic concepts of database
PPTX
Database quiz
PPTX
Database Concepts and Terminologies
PPTX
DBMS:Relational Modal
PPTX
Database Concepts.pptx
PPTX
PPTX
The Relational Database Model
PPTX
Relational Data Model.pptx
PDF
Advance database system (part 3)
PPTX
Relational database Management system.pptx
PPTX
DBMS-Unit-2.pptx
PPT
Data processing
PPTX
Keys in dbms(UNIT 2)
PPTX
introductiontodatabases-151106233350-lva1-app6892(2).pptx
PDF
DB- Lect #1 Intro.pdf
PPTX
Introduction to databases
PPTX
Manjeet Singh.pptx
2 Relational Database Concepts.ppt
18 database features
5.01 Activity Notes A
C1 basic concepts of database
Database quiz
Database Concepts and Terminologies
DBMS:Relational Modal
Database Concepts.pptx
The Relational Database Model
Relational Data Model.pptx
Advance database system (part 3)
Relational database Management system.pptx
DBMS-Unit-2.pptx
Data processing
Keys in dbms(UNIT 2)
introductiontodatabases-151106233350-lva1-app6892(2).pptx
DB- Lect #1 Intro.pdf
Introduction to databases
Manjeet Singh.pptx

More from listergc (20)

PPTX
PPTX
Validation, verification, output and backup
PPTX
L4 internet security
PPTX
L3 more networking
PPTX
L1 networking basics
PPTX
L1 networking basics
PPTX
L2 communication methods
PPTX
PPTX
Introduction to operating systems
PPTX
PPTX
Y12 peripherals
PPTX
Y12 peripherals
PPTX
L3 how do images work
PPTX
Describe primary and secondary memory inc
PPTX
Pp t3
PPTX
PPTX
PPTX
PPTX
PPTX
Systems software and applications packages
Validation, verification, output and backup
L4 internet security
L3 more networking
L1 networking basics
L1 networking basics
L2 communication methods
Introduction to operating systems
Y12 peripherals
Y12 peripherals
L3 how do images work
Describe primary and secondary memory inc
Pp t3
Systems software and applications packages

Key database terms

  • 1. Key Database Terms COMP3 – 3.3.5
  • 2. Learning Outcomes • By the end of this lesson; – You will all be able to describe a relational database – You will all be able to define a number of key database terms – You will begin creating a basic Access database
  • 3. Relational Database A relational database has more than one table and the tables are linked using key fields. For example, a library database could have three tables: – customer - when a customer joins the library a record is created. It stores their details such as their first name and surname and includes a unique Customer ID. – book - each book in the library has a record. It stores details about the book, such as the author and title and includes a unique book ID. – lending - when a customer borrows a book, the lending table stores the customer's unique ID and the book's unique ID in a record. The record could also include additional information such as when the book was borrowed and when it's due back.
  • 4. Relational Database Advantages – The book's details and the customer's details need only be entered into the database once. – Because of this, mistakes are less likely to happen and if there were a mistake in a customer's record, for example, correcting it will correct the mistake database- wide. – Duplication is avoided - this keeps the database's file size down. – Details about books and customers are easily accessible using their unique IDs. – Queries can be performed and reports generated, eg a list of books a customer has borrowed since joining the library.
  • 5. Key Terms • Attribute – The field names and data types that are in a database • Primary Key – A unique identifier for a row within a table • Composite key – If there is no unique identifier then a combination of two or more attribute is used to identify the row. • Foreign key – An attribute in a table that is the primary key of another table • Referential integrity – Since there is related data in several tables in a relationship data, updates to one table may require updates to related tables. The need to cascade updates across more than table is called Referential Integrity
  • 6. Task 1 • On Jogle you need to; – Describe what is meant by a relational database, using an example. – Define each of the 5 key terms
  • 7. Task 2 • You will need to create an Access database for your online gaming website you planned in yesterdays lesson. You should be able to explain where you have used each of the 5 key terms.