FC0-U71 Applications and Software Practice Question
A database administrator needs to retrieve all customer names from a table named 'Customers' where the city is 'New York'. Which SQL statement 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
✓
SELECT Name FROM Customers WHERE City = 'New York'
The SELECT statement is used to query data. The correct syntax is SELECT column FROM table WHERE condition. Here, we need the Name column from Customers where City equals 'New York'.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
UPDATE Customers SET Name = 'New York' WHERE City = 'New York'
Why it's wrong here
UPDATE modifies existing data; it does not retrieve.
- ✓
SELECT Name FROM Customers WHERE City = 'New York'
Why this is correct
Correct. This query retrieves the Name column for rows where City is 'New York'.
- ✗
INSERT INTO Customers (Name) VALUES ('New York')
Why it's wrong here
INSERT adds new rows; it does not retrieve data.
- ✗
DELETE FROM Customers WHERE City = 'New York'
Why it's wrong here
DELETE removes rows; it does not retrieve.
Go deeper
Related to this question
About these practice questions
Courseiva writes every FC0-U71 question from scratch — 988 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 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.