Dell-EMC
E10-110 · Question #162
Which query will retrieve the names of all document owners and provide a count of the number of documents each user owns?
The correct answer is A. select "owner_name", count(*) from "dm_document" group by "owner_name". See the full explanation below for the reasoning.
Question
Which query will retrieve the names of all document owners and provide a count of the number of documents each user owns?
Options
- Aselect "owner_name", count(*) from "dm_document" group by "owner_name"
- Bselect "owner_name", count(*) from "dm_document" order by "owner_name"
- Cselect "owner_name", count(*) from "dm_document" having owner_name like '%'
- Dselect distinct "owner_name", count(*) from "dm_document"
How the community answered
(30 responses)- A80% (24)
- B13% (4)
- C3% (1)
- D3% (1)
Community Discussion
No community discussion yet for this question.