Valid SOL-C01 Dumps shared by ExamDiscuss.com for Helping Passing SOL-C01 Exam! ExamDiscuss.com now offer the newest SOL-C01 exam dumps, the ExamDiscuss.com SOL-C01 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com SOL-C01 dumps with Test Engine here:
A data analyst is using the Snowflake web UI worksheet to explore data in a table named They want to retrieve the top 5 customers by total purchase amount. Which of the following SQL queries, executed directly within the worksheet, will achieve this, assuming identifies the customer and represents the amount of each purchase?
Correct Answer: A
Option A is the correct answer. It correctly aggregates purchase amounts by 'customer_id' , orders the results in descending order of total amount CORDER BY total_amount DESC'), and then limits the result set to the top 5 rows (LIMIT Option B is incorrect because 'ROWNUM' is not a standard SQL function and would not work in Snowflake. Option C uses ` TOP 5' , which is not standard SQL and not the syntax supported by Snowflake. Option D orders the results in ascending order CASC'), giving the bottom 5 customers. Option E does not work, need to put order by clause outside the subquery.