Courseiva

FC0-U71 Data and Database Fundamentals Practice Question

A user needs to retrieve all product names and prices from a table named 'Products' where the price is greater than 50. Which SQL statement should be used?

⚠ Common exam trap

The trap is selecting Option D because it filters correctly, but the question specifically asks for 'all product names and prices', not all columns — candidates must read the column requirements carefully.

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

✓

SELECT name, price FROM Products WHERE price > 50;

The correct SQL statement must select the columns 'name' and 'price' from the 'Products' table and filter rows where 'price' is greater than 50. Option A does exactly this with proper SELECT, FROM, and WHERE clauses. It retrieves only the required columns and applies the correct condition.

Answer analysis

Option-by-option breakdown

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

  • ✓

    SELECT name, price FROM Products WHERE price > 50;

    Why this is correct

    SELECT name, price FROM Products WHERE price > 50; projects only the two required columns and applies the greater-than filter on price, returning exactly the product names and prices requested. The WHERE clause enforces the price constraint.

  • ✗

    GET name, price FROM Products WHERE price > 50;

    Why it's wrong here

    GET is not a valid SQL keyword.

  • ✗

    SELECT name, price FROM Products;

    Why it's wrong here

    Omitting the WHERE clause returns every row, so products priced at 50 or below are included, violating the filter requirement. It is tempting because SELECT with a column list is the correct pattern for retrieving specific fields from a table; it would be right if all products were wanted without a price condition.

  • ✗

    SELECT * FROM Products WHERE price > 50;

    Why it's wrong here

    SELECT * returns every column, including ones the user did not request, so it fails the requirement to retrieve only product names and prices. It is tempting because SELECT * is the standard shorthand for fetching all columns from a table, and would be correct if the whole row were genuinely needed.

About these practice questions

This FC0-U71 question is part of Courseiva's 988-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official CompTIA exam blueprint

This FC0-U71 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 FC0-U71 exam.