QuestionQ84
VerifiedSecure, optimize, and deploy database solutionsYou have an Azure SQL database that stores sales data and includes tables named Sales and Products. Sales has three columns: SalesDate, ProductKey, and TotalSale.
Sales is 10 TB and receives a nightly batch load. Most reporting queries scan large sections of Sales, filter by SalesDate or ProductKey, and aggregate TotalSale by using SUM().
Products is comparatively small and is used mainly for point lookups and joins to Sales.
You need to recommend indexes that optimize the reporting queries while minimizing storage requirements.
Which index type should you recommend for each table? Each index type may be used once, more than once, or not at all.
Drag & Drop
Sales:
Products:
Community Discussion