SlideShare una empresa de Scribd logo
1 de 7
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.

Más contenido relacionado

La actualidad más candente

Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)
julyprum
 
Lecture 01 overview of dbms
Lecture 01 overview of dbmsLecture 01 overview of dbms
Lecture 01 overview of dbms
rupalidhir
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
WanBK Leo
 

La actualidad más candente (20)

Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
RDBMS concepts
RDBMS conceptsRDBMS concepts
RDBMS concepts
 
Rdbms
RdbmsRdbms
Rdbms
 
D B M S Animate
D B M S AnimateD B M S Animate
D B M S Animate
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)
 
Database management system
Database management system   Database management system
Database management system
 
Lecture 01 overview of dbms
Lecture 01 overview of dbmsLecture 01 overview of dbms
Lecture 01 overview of dbms
 
Database systems
Database systemsDatabase systems
Database systems
 
Good PPT for RDBMS starter
Good PPT for RDBMS starter Good PPT for RDBMS starter
Good PPT for RDBMS starter
 
Database Management Systems 1
Database Management Systems 1Database Management Systems 1
Database Management Systems 1
 
DBMS - Distributed Databases
DBMS - Distributed DatabasesDBMS - Distributed Databases
DBMS - Distributed Databases
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)
 
Database an introduction
Database an introductionDatabase an introduction
Database an introduction
 
introduction to database
 introduction to database introduction to database
introduction to database
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Relational database
Relational database Relational database
Relational database
 

Destacado

Key-Database Management
Key-Database Management Key-Database Management
Key-Database Management
Bikash Sapkota
 
08 c++ Operator Overloading.ppt
08 c++ Operator Overloading.ppt08 c++ Operator Overloading.ppt
08 c++ Operator Overloading.ppt
Tareq Hasan
 

Destacado (20)

Slide 5 keys
Slide 5 keysSlide 5 keys
Slide 5 keys
 
DBMS Keys
DBMS KeysDBMS Keys
DBMS Keys
 
Database Keys
Database KeysDatabase Keys
Database Keys
 
Key and its different types
Key and its different typesKey and its different types
Key and its different types
 
Key-Database Management
Key-Database Management Key-Database Management
Key-Database Management
 
Relational keys
Relational keysRelational keys
Relational keys
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with ExamplesDML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
3 summary
3 summary3 summary
3 summary
 
Database concepts by vaishali sahare[katkar]
Database concepts by vaishali sahare[katkar]Database concepts by vaishali sahare[katkar]
Database concepts by vaishali sahare[katkar]
 
Sql
SqlSql
Sql
 
Concept of Relational Database and Integrity Constraints [DIFFERENCE BETWEEN ...
Concept of Relational Database and Integrity Constraints [DIFFERENCE BETWEEN ...Concept of Relational Database and Integrity Constraints [DIFFERENCE BETWEEN ...
Concept of Relational Database and Integrity Constraints [DIFFERENCE BETWEEN ...
 
Relational Data Base
Relational Data BaseRelational Data Base
Relational Data Base
 
functional dependencies with example
functional dependencies with examplefunctional dependencies with example
functional dependencies with example
 
Dml and ddl
Dml and ddlDml and ddl
Dml and ddl
 
Functional dependency
Functional dependencyFunctional dependency
Functional dependency
 
Enhanced ER(database)
Enhanced ER(database)Enhanced ER(database)
Enhanced ER(database)
 
08 c++ Operator Overloading.ppt
08 c++ Operator Overloading.ppt08 c++ Operator Overloading.ppt
08 c++ Operator Overloading.ppt
 
Data integrity
Data integrityData integrity
Data integrity
 

Similar a Key database terms

C1 basic concepts of database
C1 basic concepts of databaseC1 basic concepts of database
C1 basic concepts of database
Wan Azni
 
Operate Database Applicationitss level2.pptx
Operate Database Applicationitss level2.pptxOperate Database Applicationitss level2.pptx
Operate Database Applicationitss level2.pptx
AbdirisakIman
 

Similar a Key database terms (20)

C1 basic concepts of database
C1 basic concepts of databaseC1 basic concepts of database
C1 basic concepts of database
 
L2 identifying photos
L2   identifying photosL2   identifying photos
L2 identifying photos
 
Database.pptx
Database.pptxDatabase.pptx
Database.pptx
 
Chapter 7(documnet databse termininology) no sql for mere mortals
Chapter 7(documnet databse termininology) no sql for mere mortalsChapter 7(documnet databse termininology) no sql for mere mortals
Chapter 7(documnet databse termininology) no sql for mere mortals
 
Presentation DBMS (1)
Presentation DBMS (1)Presentation DBMS (1)
Presentation DBMS (1)
 
Lec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systemsLec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systems
 
System Analysis And Design
System Analysis And DesignSystem Analysis And Design
System Analysis And Design
 
Use a data parallel approach to proAcess
Use a data parallel approach to proAcessUse a data parallel approach to proAcess
Use a data parallel approach to proAcess
 
DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
 
Case mis ch05
Case mis ch05Case mis ch05
Case mis ch05
 
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
 
Chapter 5 design of keyvalue databses from nosql for mere mortals
Chapter 5 design of keyvalue databses from nosql for mere mortalsChapter 5 design of keyvalue databses from nosql for mere mortals
Chapter 5 design of keyvalue databses from nosql for mere mortals
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
 
Python programming
Python programmingPython programming
Python programming
 
Database Management Systems.pptx
Database Management Systems.pptxDatabase Management Systems.pptx
Database Management Systems.pptx
 
Dbms
DbmsDbms
Dbms
 
DB2 on Mainframe
DB2 on MainframeDB2 on Mainframe
DB2 on Mainframe
 
Database Management System-Module-IV(part-1).pptx
Database Management System-Module-IV(part-1).pptxDatabase Management System-Module-IV(part-1).pptx
Database Management System-Module-IV(part-1).pptx
 
Operate Database Applicationitss level2.pptx
Operate Database Applicationitss level2.pptxOperate Database Applicationitss level2.pptx
Operate Database Applicationitss level2.pptx
 
6.2 software
6.2 software6.2 software
6.2 software
 

Más de listergc

Validation, verification, output and backup
Validation, verification, output and backupValidation, verification, output and backup
Validation, verification, output and backup
listergc
 
L4 internet security
L4   internet securityL4   internet security
L4 internet security
listergc
 
L3 more networking
L3   more networkingL3   more networking
L3 more networking
listergc
 
L1 networking basics
L1   networking basicsL1   networking basics
L1 networking basics
listergc
 
L1 networking basics
L1   networking basicsL1   networking basics
L1 networking basics
listergc
 
L2 communication methods
L2   communication methodsL2   communication methods
L2 communication methods
listergc
 
Introduction to operating systems
Introduction to operating systemsIntroduction to operating systems
Introduction to operating systems
listergc
 
Y12 peripherals
Y12   peripherals Y12   peripherals
Y12 peripherals
listergc
 
Y12 peripherals
Y12   peripherals Y12   peripherals
Y12 peripherals
listergc
 
L3 how do images work
L3   how do images workL3   how do images work
L3 how do images work
listergc
 
Describe primary and secondary memory inc
Describe primary and secondary memory incDescribe primary and secondary memory inc
Describe primary and secondary memory inc
listergc
 
Systems software and applications packages
Systems software and applications packagesSystems software and applications packages
Systems software and applications packages
listergc
 

Más de listergc (20)

L2
L2L2
L2
 
Validation, verification, output and backup
Validation, verification, output and backupValidation, verification, output and backup
Validation, verification, output and backup
 
L4 internet security
L4   internet securityL4   internet security
L4 internet security
 
L3 more networking
L3   more networkingL3   more networking
L3 more networking
 
L1 networking basics
L1   networking basicsL1   networking basics
L1 networking basics
 
L1 networking basics
L1   networking basicsL1   networking basics
L1 networking basics
 
L2 communication methods
L2   communication methodsL2   communication methods
L2 communication methods
 
L7
L7L7
L7
 
Introduction to operating systems
Introduction to operating systemsIntroduction to operating systems
Introduction to operating systems
 
L6
L6L6
L6
 
Y12 peripherals
Y12   peripherals Y12   peripherals
Y12 peripherals
 
Y12 peripherals
Y12   peripherals Y12   peripherals
Y12 peripherals
 
L3 how do images work
L3   how do images workL3   how do images work
L3 how do images work
 
Describe primary and secondary memory inc
Describe primary and secondary memory incDescribe primary and secondary memory inc
Describe primary and secondary memory inc
 
Pp t3
Pp t3Pp t3
Pp t3
 
L9
L9L9
L9
 
L8
L8L8
L8
 
L7
L7L7
L7
 
L6
L6L6
L6
 
Systems software and applications packages
Systems software and applications packagesSystems software and applications packages
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.