Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Certified Data Analyst Associate topic 1 question 25 discussion

Actual exam question from Databricks's Certified Data Analyst Associate
Question #: 25
Topic #: 1
[All Certified Data Analyst Associate Questions]

A data analyst has been asked to use the below table sales_table to get the percentage rank of products within region by the sales:

The result of the query should look like this:

Which of the following queries will accomplish this task?

  • A.
  • B.
  • C.
  • D.
  • E.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
d046bc0
4 months, 1 week ago
Percent_rank is used to have ranking from 0 . Rank() returns 1 as the first number. B would be correct without GROUP BY clause. But looks better than other options ;/
upvoted 1 times
...
Devscope
7 months, 1 week ago
Given all the other answers, B is the one that makes more sense However the GROUP BY clause does not make sense, we are not aggregating anything in this case, and it is not even possible to run that query without having an error. Anyone with a different idea?
upvoted 2 times
csrazdan
1 month, 1 week ago
Agree. Also, the output column should be named as rank as per this option but in the sample output it is shown as sales
upvoted 1 times
...
...
MrWood47
7 months, 2 weeks ago
Selected Answer: B
Provided answer is correct
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...