DFo 2 1
DFo 2 1
DFo 2 1
2-1
What Is a Table?
Unique Relationships
Data Modeling Identifiers and and Foreign Keys
Terminology Primary Keys
DFo 2-1 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 3
What Is a Table?
Objectives
This lesson covers the following objectives:
• Describe the features of a single table
• Explain the advantages and disadvantages of a flat file
database
DFo 2-1 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 4
What Is a Table?
Single Table
• A flat file database is a type of database that stores data
in a single table.
• Flat file databases are generally in plain-text form,
where each line holds only one record.
Customer ID First Name Last Name Address City
DFo 2-1 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 5
What Is a Table?
Advantages and Disadvantages of a Flat File
Database
Advantages Disadvantages
Easy to understand Less security
DFo 2-1 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 6
What Is a Table?
Example of a Flat File Database
DFo 2-1 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 7
What Is a Table?
Summary
In this lesson, you should have learned how to:
• Describe the features of a single table
• Explain the advantages and disadvantages of a flat file
database
DFo 2-1 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 8
What Is a Table?