InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 3205–3216 of 3610 questions

SQL & Database DesignBeginner1 min read

What is a natural key?

A natural key is derived from real-world business data, such as an ISO country code. Natural keys can be meaningful but may change or have complex validati

SQL & Database DesignBeginner1 min read

What is NULL?

NULL represents missing or unknown data, not zero or an empty string. Use IS NULL or IS NOT NULL to test for it.

SQL & Database DesignBeginner1 min read

What is a constraint?

A constraint is a database-enforced rule, such as PRIMARY KEY, FOREIGN KEY, UNIQUE, NOT NULL, or CHECK.

SQL & Database DesignBeginner1 min read

What is a DEFAULT constraint?

A DEFAULT supplies a value when an INSERT omits the column or requests DEFAULT; it does not generally replace an explicitly supplied NULL.

SQL & Database DesignBeginner1 min read

What is normalization?

Normalization organizes tables to reduce redundancy and update anomalies by separating facts into appropriate relations.

SQL & Database DesignBeginner1 min read

What is denormalization?

Denormalization deliberately duplicates or precomputes data to improve specific read patterns, at the cost of additional consistency and update complexity.