Databases
Databases
Your Task
Link : https://www.youtube.com/watch?v=UsBJ9l5tajA
A DB is collection of Tables
Buzz Words/Key
Words/Terms…
Entit
Attribut y
e
Tuple/
Recor
d
Buzz Words/Key
Words/Terms…
Ke ary
im
y
Pr
Primary key and foreign
key
Primary key: It is uniquely
identified attribute.
Foreign key: It is a column in a
database that
(e.g. table_1.column_a) are linked
to a column in a different table
Accessing Data in a DB
Structured Query Language (SQL)
◦ A special purpose programming
language
Create Table
Querry Writting
Primary Key
Foreign key
Querry Writting
Alter Table
Alter table Table_Name
add GPA float
Drop Table
Drop table Table_Name
THANKS!!!