nerdexam
Zend

ZF-100-500 · Question #61

You want to retrieve all the data from any given table. You also want to ensure that no duplicate values are displayed. Which of the following SQL statements will you use to accomplish the task?

The correct answer is B. SELECT...DISTINCT. See the full explanation below for the reasoning.

Question

You want to retrieve all the data from any given table. You also want to ensure that no duplicate values are displayed. Which of the following SQL statements will you use to accomplish the task?

Options

  • ASELECT...ALL
  • BSELECT...DISTINCT
  • CSELECT...TOP
  • DSELECT...WHERE

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    83% (19)
  • C
    4% (1)
  • D
    9% (2)

Community Discussion

No community discussion yet for this question.

Full ZF-100-500 Practice