All Questions

510 questions and answers

1068 views

Define a Foreign key. Why is the concept needed? How does it play a role in the join operation?

A relation, say, r1, may include among its attributes the primary key of another relation, say, r2. This attribute in called a foreign key

Demo Teacher
added 2 years ago
1003 views

Explain View with suitable example. What is the usefulness of a view?

View is the simply subset of table which are stored logically in a database means a view is a virtual table in the database whose contents are defined by a query.

Demo Teacher
added 2 years ago
996 views

What are the differences between Primary Index, Secondary Index, and Clustering Index?

Indexing is a data structure technique to efficiently retrieve records from the database files based on some attributes

Demo Teacher
added 2 years ago
1141 views

Define BCNF. How does it differ from 3NF? Why is it considered stronger than 3NF?

A relation is in BCNF, if and only if, the relation is in 3NF and every determinant is a candidate key.

Demo Teacher
added 2 years ago