InterviewStack.io LogoInterviewStack.io

SQL for Data Analysis Questions

Writing SQL to answer analytical and business questions. Covers filtering, joins, grouping and aggregation, subqueries, CTEs, and translating an ambiguous request into a correct query. Includes spreadsheet-to-SQL fluency for everyday analyst workflows.

HardTechnical
113 practiced

In VBA or Office Scripts, how would you automate a repetitive Excel reporting task that imports a CSV, cleans the headers, refreshes summary sheets, and exports a PDF for distribution? What would you automate first, and how would you make the script robust to missing or malformed data?

MediumTechnical
63 practiced

If you had a transaction-level sheet and needed a monthly summary by region, product, and channel with trend lines, how would you build the PivotTable and what options would you use to make it usable for non-technical stakeholders?

MediumTechnical
69 practiced

A manager asks you to explain why sales dropped last week, and the only input you have is a raw Excel export from the CRM. How would you structure the investigation in Excel from the first pass to the final answer, and what analyses would you prioritize?

MediumTechnical
76 practiced

For business reporting, how do SUMIFS, COUNTIFS, and AVERAGEIFS compare with PivotTables? When would you prefer conditional aggregate formulas instead of a PivotTable, and when would you avoid them?

HardTechnical
73 practiced

How would you build a lightweight Excel dashboard that refreshes from a raw data tab, shows KPI tiles, trend charts, and drill-down filters, and stays fast enough for daily use on a large workbook? Describe the structure, formulas, and performance choices you would make.

Unlock Full Question Bank

Get access to all 10 SQL for Data Analysis interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.