DA0-002 Data Acquisition and Preparation Practice Question
An analyst is using SQL to analyze employee data. Which THREE of the following are valid uses of the WHERE clause? (Select three.)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Filter rows where manager_id is NULL using IS NULL
WHERE can filter using LIKE, BETWEEN, and IS NULL. HAVING is for aggregated results, and ORDER BY is for sorting.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Sort the result set by hire_date
Why it's wrong here
Sorting is done with ORDER BY, not WHERE.
- ✗
Filter groups after aggregation using HAVING
Why it's wrong here
HAVING is used after GROUP BY, not in WHERE.
- ✓
Filter rows where manager_id is NULL using IS NULL
Why this is correct
IS NULL is used in WHERE to check for NULL values.
- ✓
Filter rows where the name starts with 'J' using LIKE
Why this is correct
LIKE is used in WHERE for pattern matching.
- ✓
Filter rows where salary is between 50,000 and 70,000 using BETWEEN
Why this is correct
BETWEEN is used in WHERE for range filtering.
Go deeper
Related to this question
About these practice questions
Courseiva writes every DA0-002 question from scratch — 986 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DA0-002 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DA0-002 exam.