top of page
Image by Alexander Grey

Database

Unit 10 Summary - part 1

Image by Ivette Peña
Image by Tamanna Rumee
Image by Emmeline T.
Image by Codioful (Formerly Gradienta)

What is Database?

Entities

 

are data in a database, such as employees, customers, objects, events, etc.

​

​

Tables

 

contain entities, example table 1 is about employees' data, table 2 is about employees' salary, table 3 is about employees' daily attendance.

​

​

Records

 

are data in rows.

​

​

Fields

 

are data in columns.

Image by Nareeta Martin
Comp S 254-255.png
Image by Annie Spratt
Comp S 256-257a.png
Image by Scott Webb
Comp S 256-257b.png
Image by Kenrick Mills
Comp S 258-259.png
Image by Alexander Grey
Primary Key
​

is a different/unique code for each record. This is very helpful if you have 2 employees/customers/students having the same name, so they are given different codes to distinguish them in the database.

Image by Zyanya BMO
Foreign Key

 

is a primary key from other tables, used to link tables.

Image by Alexander Grey
Relational Database

 

a link between tables so you don't need to duplicate records, you just need to copy the primary key. The computer will look up the details using the primary key.

Image by Pawel Czerwinski
Comp S 260-261.png
Image by Laura Ockel

More of Unit 10

Visconsio Nekoland Logo.jpg
PT. Visconsio Kaya Jaya Masyhur

© 2020-2023 by Miana Kitty

bottom of page