nerdexam
Zend

ZF-100-500 · Question #153

Martin works as a Database Administrator for MTech Inc. He designs a database that has a table named Products. He wants to create a report listing different product categories. He does not want to…

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

Question

Martin works as a Database Administrator for MTech Inc. He designs a database that has a table named Products. He wants to create a report listing different product categories. He does not want to display any duplicate row in the report. Which o f the following SELECT statements will Martin use to create the report?

Options

  • ASELECT Product_No, Prod_Category
  • BSELECT DISTINCT Product_No, Prod_Category
  • CSELECT Product_No, Prod_Category
  • DSELECT Product_No, Prod_Category

How the community answered

(63 responses)
  • A
    5% (3)
  • B
    81% (51)
  • C
    11% (7)
  • D
    3% (2)

Community Discussion

No community discussion yet for this question.

Full ZF-100-500 Practice