You are analyzing website traffic data stored in a Snowflake table named 'WEB EVENTS. This table contains a 'TIMESTAMP' column representing when the event occurred and a 'PAGE VIEWS column indicating the number of page views for that event. You need to identify the day with the highest number of page views and also the day with lowest number of page views along with average number of page views. How can you accomplish this using Snowflake SQL?

Correct Answer: D
Option D provides the correct answer. The first two queries correctly identify the day with the highest and lowest total views, respectively, using 'DATE(TIMESTAMP)' to extract the date, to aggregate page views, 'GROUP BY' to group by date, "ORDER BY' to sort, and 'LIMIT 1' to select only the top/bottom day. It also has the correct query to identify average page views 'SELECT OVER() FROM WEB_EVENTS LIMIT Other Options A and E are quite close but they don't identify the same, in option A, 'SELECT AVG(PAGE_VIEWS) FROM WEB_EVENTS' , the AVG page views won't tell us the dates of min max and Avg views. Similar is the problem with option E, 'SELECT FROM WEB_EVENTS The APPROX_AVG won't tell us which day has highest or lowest.