Top 50 SQL Interview Questions and Answers
Top 50 SQL Interview Questions and Answers
coding_knowledge
Q 2. What is a database?
ANS. A database is an organized collection of data stored and
accessed electronically. It provides a way to store, organize,
and retrieve large amounts of data efficiently.
@coding_knowladge
@coding_knowladge
Q 4. What is a foreign key?
ANS. A foreign key is a column or combination of columns
that establishes a link between data in two tables. It ensures
referential integrity by enforcing relationships between
tables.
Q 6. What is normalization?
ANS. Normalization is the process of organizing data in a
database to minimize redundancy and dependency. It
involves breaking down a table into smaller tables and
establishing relationships between them.
@coding_knowladge
Q 7. What are the different types of normalization?
ANS. First Normal Form (1NF)
Second Normal Form (2NF)
Third Normal Form (3NF)
Boyce-Codd Normal Form (BCNF)
Fourth Normal Form (4NF)
Fifth Normal Form (5NF) or Project-Join Normal Form
(PJNF)