Practice Library

All MCQs

Browse exam-wise, subject-wise, and country-wise MCQs with explanations.

What happens when RANK encounters tied values?

Choose an option to check your answer.

What does PARTITION BY do inside a window function?

Choose an option to check your answer.

What does the SQL CUBE operator generate?

Choose an option to check your answer.

What does SQL ROLLUP add to grouped results?

Choose an option to check your answer.

What problem do GROUPING SETS solve?

Choose an option to check your answer.

How does SQL AVG normally treat NULL measure values?

Choose an option to check your answer.

Why should a row-level date filter usually be placed in WHERE rather than HAVING?

Choose an option to check your answer.

What is the purpose of GROUP BY in analytic SQL?

Choose an option to check your answer.