Relational Databases (Leaving Cert Computer Science): Quizzes

📚Quizzes
Relational Databases
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

12 questions from this quiz

Show

What does a relational database store and provide access to?

Data points related to one another

What is a primary key in a database table?

A unique identifier for each record

Can two rows in a table have the same primary key value?

No, primary key values must be unique

Can a primary key column contain null values?

No, it cannot contain null values

Should a primary key value change over time?

No, it should not change

What is a composite primary key?

A primary key with multiple columns

In the Student Table, which column is the primary key?

ID column

Why is full name unsuitable as a primary key?

Multiple people may have the same name

What does a foreign key do in a database?

Creates a link between two tables

What does a foreign key refer to in another table?

The primary key

In the Student Table, what is Exam ID?

A foreign key referencing Grade Table

Can a primary key also be a foreign key?

Yes, it can be both

Explore Leaving Cert Computer Science Revision Notes by Topics

Explore Leaving Cert Computer Science Model Answers by Topics

Explore Leaving Cert Computer Science Flashcards by Topics

Explore Leaving Cert Computer Science Exam Questions by Topics

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

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