nerdexam
Zend

ZF-100-500 · Question #109

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 D. 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 of the following SELECT statements will Martin use to create the report?

Options

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

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    9% (2)
  • C
    13% (3)
  • D
    74% (17)

Community Discussion

No community discussion yet for this question.

Full ZF-100-500 Practice