Free COMPTIA Datasys+ DS0-001 Actual Exam Questions - Question 8 Discussion

Question No. 8
Which of the following statements contains an error?
Select one option, then reveal solution.
US
AA
Arjun A.
2026-02-22

Maybe D isn’t wrong technically, it just doesn’t filter anything but the syntax is fine. I see the point about C’s missing space, but most SQL engines are pretty forgiving with that and treat SELECT* as SELECT *. So B definitely stands out since it’s missing the FROM clause completely, which is required for a valid query. That one can’t run at all, so that’s where I’d put the error.

0
SS
Sohail S.
2026-02-14

B/D? B misses FROM, so that’s an obvious error. D is technically correct syntax but might be pointless without a WHERE clause if the question implies filtering. Still, B is clearly wrong.

0
SS
Sohail S.
2026-02-12

A imo is fine syntactically even if EmpId doesn’t exist for 90030, it won’t cause an error, just return no rows. B is the only one missing FROM, so definitely the error here.

0
SS
Sohail S.
2026-02-12

Maybe B is the error since it’s missing the FROM clause, which is essential for a valid SELECT query. The others at least have the basic structure right.

0
SS
Sohail S.
2026-01-28

B imo misses FROM, so it’s definitely wrong syntax here.

0
RT
Ryan T.
2026-01-21

It’s B, no FROM clause means it won’t run properly.

0
WD
Will D.
2026-01-18

A imo is fine since it has both SELECT and FROM with a valid WHERE clause. B clearly misses FROM, so it stands out as wrong while others look okay.

0
WD
Will D.
2026-01-15

I think B has the error because it’s missing the FROM clause after SELECT EmpId. You need to specify the table before the WHERE condition.

0