Valid DAA-C01 Dumps shared by EduDump.com for Helping Passing DAA-C01 Exam! EduDump.com now offer the newest DAA-C01 exam dumps, the EduDump.com DAA-C01 exam questions have been updated and answers have been corrected get the newest EduDump.com DAA-C01 dumps with Test Engine here:
A data analyst is working with a large table partitioned by (DATE type). The table contains millions of rows spanning several years. They need to optimize a query that retrieves sales data for a specific quarter of 2023. The initial query is: 'SELECT FROM sales_data WHERE EXTRACT(YEAR FROM sale_date) = 2023 AND EXTRACT(QUARTER FROM sale_date) = To improve performance using partition pruning, which of the following queries is the MOST efficient alternative?
Correct Answer: A
Option A is the most efficient because it directly uses the 'sale_date' column with a 'BETWEEN' clause using specific date values. This allows Snowflake to directly leverage the partition pruning based on the date range. Options B and C use functions C YEAR, 'QUARTER on the 'sale_date' column, preventing efficient partition pruning. Option D uses 'LIKE', which is not suitable for date comparisons and would likely result in a full table scan, furthermore 'LIKE operator will not work with Date Data type. Option E does not prune to a specific quarter.