☎  076 959 6407✉  support@quizcrazepro.co.za
Learn. Practice. Build your future.
BlogHelpContact
G

Google Associate Data Practitioner Exam Actual Questions

72 Questions120 Minutes70% Passing Score▣ Updated: Sep 2026

Question 2 of 72

Single answer

Your company has several retail locations. Your company tracks the total number of sales made at each location each day. You want to use SQL to calculate the weekly moving average of sales by location to identify trends for each store. Which query should you use?

A

A. SELECT store_id, date, total_sales, AVG(total_sales) OVER ( PARTITION BY store_id ORDER BY total_sales RANGE BETWEEN 6 PRECEDING AND CURRENT ROW ) as rolling_avg FROM store_sales_daily

B

B. SELECT store_id, date, total_sales, AVG(total_sales) OVER ( PARTITION BY date ORDER BY store_id ROWS BETWEEN 6 PRECEDING AND CURRENT ROW ) as rolling_avg FROM store_sales_daily

C

C. SELECT store_id, date, total_sales, AVG(total_sales) OVER ( PARTITION BY store_id ORDER BY date ROWS BETWEEN 6 PRECEDING AND CURRENT ROW ) as rolling_avg FROM store_sales_daily

D

D. SELECT store_id, date, total_sales, AVG(total_sales) OVER ( PARTITION BY total_sales ORDER BY date RANGE BETWEEN 6 PRECEDING AND CURRENT ROW ) as rolling_avg FROM store_sales_daily

Correct Answer: A

<p>C. SELECT store_id, date, total_sales, AVG(total_sales) OVER ( PARTITION BY store_id ORDER BY date ROWS BETWEEN 6 PRECEDING AND CURRENT ROW ) as rolling_avg FROM store_sales_daily</p>

Explanation

The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.

About this practice exam

Review 72 Google questions with answers and explanations. Use the navigation to move through the exam at your own pace.