Courseiva
Data Acquisition and PreparationeasyMultiple ChoiceObjective-mapped

DA0-002 Data Acquisition and Preparation Practice Question

In a sales database, an analyst needs to retrieve all orders where the order amount is between $100 and $500. Which WHERE clause should be used?

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

WHERE amount BETWEEN 100 AND 500

The BETWEEN operator is inclusive and is the standard way to filter a range of values.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • WHERE amount IN (100, 500)

    Why it's wrong here

    IN checks for exact matches, not a range.

  • WHERE amount >= 100 AND amount <= 500

    Why it's wrong here

    This is also correct but not the best answer; BETWEEN is more concise.

  • WHERE amount BETWEEN 100 AND 500

    Why this is correct

    BETWEEN filters values within the inclusive range.

  • WHERE amount > 100 AND amount < 500

    Why it's wrong here

    This excludes 100 and 500, not matching the requirement.

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 →

How Courseiva writes practice questions · Editorial policy

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.