SQL Interview Questions in Gurgaon
36 practice questions with answers for SQL interviews in Gurgaon.
SQL jobs in Gurgaon
Gurgaon (Gurugram) is home to many multinational, consulting, fintech and consumer-internet offices. Interviews often expect strong business understanding along with technical skills, especially for analytics and product-facing roles.
Below are 36 questions that match the mix of service, product and domain employers hiring data analyst (sql)s in Gurgaon.
What is a covering index?
Show answer
Find employees earning more than the company average.
Show answer
What is the difference between COUNT(*), COUNT(column) and COUNT(DISTINCT column)?
Show answer
Are CTEs materialised or inlined?
Show answer
How do you get the top 3 rows in different databases?
Show answer
Describe your SQL project from college or internship.
Show answer
Management wants the percentage of each category in total sales. How do you write it?
Show answer
What is the logical order of execution of a SELECT query?
Show answer
What is the difference between putting a condition in ON versus WHERE in a LEFT JOIN?
Show answer
What are database statistics and why do they matter?
Show answer
Can you use window functions with aggregate functions in the same query?
Show answer
What is the difference between FULL OUTER JOIN and UNION of LEFT and RIGHT joins?
Show answer
A COUNT(DISTINCT) query on a huge events table is very slow. What options do you have?
Show answer
What are window functions in SQL?
Show answer
When should you not create an index?
Show answer
Tell me about a time you had to deliver a report under a tight deadline.
Show answer
A query that ran in 1 second now takes 40 seconds after a data load. What do you check?
Show answer
What are referential actions such as ON DELETE CASCADE?
Show answer
Calculate month-over-month revenue growth percentage.
Show answer
What is the CASE expression and where can it be used?
Show answer
A long report query has eight nested subqueries and nobody can maintain it. How would you refactor it?
Show answer
A reporting team wants to query the production OLTP database directly. What are the risks and alternatives?
Show answer
Compare this month's and last month's sales per product using a full outer join.
Show answer
What are transaction isolation levels?
Show answer
What is a trigger and when should it be used?
Show answer
Find duplicate email addresses in a users table.
Show answer
What is a primary key and a foreign key?
Show answer
Tell me about a time you set SQL coding standards for a team.
Show answer
How do databases execute GROUP BY internally?
Show answer
Calculate the time each user spent between consecutive events.
Show answer
What is the difference between ROW_NUMBER, RANK and DENSE_RANK?
Show answer
What are constraints in SQL?
Show answer
How does AVG treat NULL values?
Show answer
What is a composite key?
Show answer
A search on name LIKE '%sharma%' is very slow on a 20 million row table. What can you do?
Show answer
Companies with offices in Gurgaon (5)
Accenture
SQL interview questions
Bengaluru, Hyderabad, Pune +2
View questionsAmazon
SQL interview questions
Bengaluru, Hyderabad, Chennai +2
View questionsMicrosoft
SQL interview questions
Hyderabad, Bengaluru, Noida +2
View questionsZomato
SQL interview questions
Gurugram
View questionsDeloitte
SQL interview questions
Hyderabad, Bengaluru, Mumbai +2
View questionsFrequently asked questions
Which companies hire SQL professionals in Gurgaon?
Companies with large offices in Gurgaon include Accenture, Amazon, Microsoft, Zomato, Deloitte. Use their company pages below to practise employer-specific sets.
Are SQL interviews in Gurgaon different from other cities?
The questions depend more on the company than the city. Gurgaon's mix of employers decides the style: Interviews often expect strong business understanding along with technical skills, especially for analytics and product-facing roles
How do I find SQL jobs in Gurgaon?
Shortlist companies with Gurgaon offices, keep your CV focused on SQL projects, apply on company career pages and job portals with the Gurgaon filter, and practise the questions on this page before each interview.