SQL Managerial Round Questions & Answers
35 questions for the managerial round stage — 2 easy, 20 medium, 13 hard.
About the managerial round round
The managerial round is usually with a hiring manager or team lead. It mixes real-work scenarios, prioritisation and stakeholder questions with behavioural questions about ownership, conflict and learning.
Tips for the managerial round round
- Use the STAR format for every story: Situation, Task, Action, Result.
- Show trade-offs: what you chose, what you gave up and why.
- Be honest about mistakes and focus on what you changed afterwards.
- Ask the manager about team goals and how success is measured in the role.
You need to delete duplicate rows but keep one copy of each. How do you do it?
Show answer
A query that ran in 1 second now takes 40 seconds after a data load. What do you check?
Show answer
A recursive CTE on a category tree runs forever. What is the likely cause and fix?
Show answer
Average order value looks too low in a report. What could be wrong?
Show answer
Produce region subtotals and a grand total in one query.
Show answer
A business user needs a dashboard on a complex 6-table join that runs slowly. Would you use a view or a materialised view?
Show answer
An interviewer asks for the Nth highest salary in a reusable way. How do you answer?
Show answer
Describe a time you found and fixed a wrong number in a report.
Show answer
A join between two large tables takes minutes. How would you speed it up?
Show answer
Tell me about a production incident involving a database and how you handled it.
Show answer
What are anti joins and semi joins?
Show answer
Your GROUP BY query returns an error that a column is not in the group by clause. How do you fix it?
Show answer
A LEFT JOIN is returning fewer rows than the left table. Why could that happen?
Show answer
A report sums amounts stored in a FLOAT column and finance says totals are off by a few paise. Why?
Show answer
What is table partitioning and how does it help performance?
Show answer
A daily aggregation over 2 billion rows is too slow for a dashboard. What would you propose?
Show answer
A query with many OR conditions across different columns is slow. How can you optimise it?
Show answer
Describe your SQL project from college or internship.
Show answer
How do you prevent SQL injection in applications?
Show answer
How do you explain a technical database issue to a non-technical manager?
Show answer
What is BCNF and how is it different from 3NF?
Show answer
What is denormalisation and when is it used?
Show answer
Your running total jumps by large amounts on some dates instead of row by row. Why?
Show answer
Design tables for students, courses and enrolments.
Show answer
How would you design data archiving for a table growing by 10 million rows a month?
Show answer
How do you read an EXPLAIN ANALYZE output in PostgreSQL?
Show answer
Two systems store customer IDs differently, one as INT and one as VARCHAR with leading zeros. How do you join them?
Show answer
Tell me about a time you significantly improved query performance.
Show answer
Product prices change often, but old orders must keep the price at the time of purchase. How do you design it?
Show answer
How do you handle a situation where business users dispute your numbers?
Show answer
Inserts into a heavily used table have become slow. What could be causing it?
Show answer
Tell me about a database design decision you made and its outcome.
Show answer
Finance asks for the count of customers whose total spend crossed 1 lakh in each city. How do you write it?
Show answer
Someone ran an UPDATE without WHERE on production. What would you do?
Show answer
Frequently asked questions
What happens in the SQL managerial round round?
The managerial round is usually with a hiring manager or team lead. It mixes real-work scenarios, prioritisation and stakeholder questions with behavioural questions about ownership, conflict and learning.
How do I clear the managerial round round?
Use the STAR format for every story: Situation, Task, Action, Result. Show trade-offs: what you chose, what you gave up and why. Be honest about mistakes and focus on what you changed afterwards.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.