What is a view?
A view is a named query that presents data as a virtual table. It can simplify repeated queries and help control which columns users can access.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 3229–3240 of 3610 questions
A view is a named query that presents data as a virtual table. It can simplify repeated queries and help control which columns users can access.
A stored procedure is a named database program that can accept parameters and execute SQL statements. Syntax and capabilities vary by engine.
A trigger runs automatically in response to defined database events such as INSERT, UPDATE, or DELETE. Triggers can enforce specialized rules but can make
A transaction groups database changes into a unit that commits or rolls back together, subject to isolation and engine semantics.
ACID means Atomicity, Consistency, Isolation, and Durability. These properties describe key transaction guarantees, with exact guarantees influenced by dat
A deadlock occurs when transactions wait on resources held by each other in a cycle. The database usually chooses a victim transaction to roll back.
A backup is a recoverable copy of database data and sometimes logs or metadata. Backup frequency and type determine recovery options and data-loss exposure
First Normal Form (1NF) generally requires each column value to be atomic for the chosen model and no repeating groups in a row.
Second Normal Form requires 1NF and no non-key attribute to depend on only part of a candidate key. It matters particularly with composite keys.
Third Normal Form requires 2NF and removes problematic transitive dependencies of non-key attributes on a key, according to formal definitions.
Boyce-Codd Normal Form requires every determinant of a nontrivial functional dependency to be a candidate key. It is stricter than 3NF in certain cases.
A functional dependency X → Y means each value of X determines exactly one value of Y within the modeled relation.