3.7 Flashcards
(8 cards)
Define Database.
A database is a way of holding data in an organised way so that it is quick and easy to find a particular item.
A database will contain one or more tables.
Define a Relational Database.(3)
In a relational database each entity has its own table, and the tables are linked by a common field.
By doing this each item of data is held only once, there is no possibility of inconsistency in the spelling of a name, or a difference in two phone numbers recorded for the same person.
Data inconsistency and data redundancy have been eliminated.
What does SQL stand for?(2)
Structured Query Language.
It is used for querying and updating database tables in a relational database.
Define record.
A record within a database is the combined entities on a single row.
Define field.
Each field is a different column in a database.
Define entity.
Each individual person or thing within any database.
What is the foreign key?
The foreign key is the field which is the Primary Key of one table, and a field in another.
What is the primary key?
The Primary Key is the unique identifier in a database table. No two entities in the table in the field of the Primary Key can be the same.