Relational Databases (Leaving Cert Computer Science): Flashcards

📚Flashcards
Relational Databases
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

11 cards from this deck

Show

Relational database definition

Database storing & providing access to related data points

Primary key definition

Unique identifier for each record in a database table

Primary key uniqueness characteristic

Must be unique for each row in the table

Primary key non-null characteristic

Cannot contain null values; every record must have a value

Primary key immutability characteristic

Should not change over time; stable and permanent

Composite primary key definition

Primary key consisting of multiple columns combined

Why is full name unsuitable as primary key?

Multiple people may have the same name (not unique)

Foreign key definition

Column(s) that creates a link between data in two tables

What does a foreign key reference?

Primary key in another table

Can a primary key also be a foreign key?

Yes, a primary key can also be a foreign key

Student Table primary key example

ID column (uniquely identifies each student)

Explore Leaving Cert Computer Science Revision Notes by Topics

Explore Leaving Cert Computer Science Model Answers by Topics

Explore Leaving Cert Computer Science Quizzes by Topics

Explore Leaving Cert Computer Science Exam Questions by Topics

Join 100,000+ Leaving Cert students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.