intro databases
TRANSCRIPT
![Page 1: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/1.jpg)
Part 1
![Page 2: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/2.jpg)
To answer the question “what is a database?”
To understand the basic components of a database and start to plan/create our own.
![Page 3: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/3.jpg)
Database
Table
Field
Record
Primary key
![Page 4: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/4.jpg)
![Page 5: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/5.jpg)
![Page 6: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/6.jpg)
Yellow pages
Mobile phones
Microsoft Access
![Page 7: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/7.jpg)
Patient information in a hospital
Car registration numbers and owners
Names and phone numbers of friends
Student information in a school
Criminal Records
What kind of information What kind of information could we store in a could we store in a
database?database?
![Page 8: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/8.jpg)
Each table within a database will have a collection of fields and records.
e.g. Customer details is a table
TableTabless
![Page 9: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/9.jpg)
Each piece of information in a record is called a field.
e.g. Name: Joe Bloggs is a field.
FieldsFields
![Page 10: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/10.jpg)
Each set of information about a person / object is called a record.
e.g. Name: Joe BloggsAddress: 33 Wood Lane, PorthPhone number: 01443 123456
is a record which has 3 fields.
RecordsRecords
![Page 11: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/11.jpg)
Primary keyPrimary key
Every table in a database needs a primary key; a
primary key uniquely identifies each record inthe table.
e.g. Applies an ID to a record e.g. St1234
![Page 12: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/12.jpg)
Table
Record
Field
Primary key
![Page 13: Intro databases](https://reader033.vdocument.in/reader033/viewer/2022052321/555e0e60d8b42a99188b4d4f/html5/thumbnails/13.jpg)