Introduction to SQL Questions
Practice Introduction to SQL MCQs with answers and explanations. Page 4 of 4.
Category
Database
Topic
Introduction to SQL
Page
4 / 4
Mode
Practice
Questions
Open any question to view the answer and explanation.
In SQL aggregation, does COUNT(column_name) tally only rows where the column is non-NULL, ignoring NULLs?
Open
View answer
Core SQL aggregates: Are COUNT, SUM, AVG, MAX, and MIN the standard built-in aggregate functions commonly available in SQL implementations?
Open
View answer
In SQL, does the LIKE operator in a WHERE clause select a numeric or date “range of values,” similar to BETWEEN?
Open
View answer
Views: Is a “dynamic view” (ordinary SQL view) one whose contents are computed on demand when the view is referenced, rather than stored physically?
Open
View answer
Is SELECT–FROM–WHERE the fundamental template of SQL SELECT statements (with optional GROUP BY, HAVING, ORDER BY, etc.)?
Open
View answer
Subqueries: Is a SELECT nested inside another SELECT and enclosed in square brackets [ ... ] called a subquery?
Open
View answer
Indexes in relational databases: Can indexes generally be created or dropped at any time (subject to privileges and workload considerations)?
Open
View answer
Is SQL considered a general-purpose programming language, or is it better described as a specialized, declarative data sublanguage for managing relational data?
Open
View answer
Does the SQL SELECT command (with its clauses) enable users to perform flexible, ad hoc queries over table data?
Open
View answer
Practice smarter
Solve a few questions daily and revisit weak topics regularly to improve accuracy.