SQL Interview Questions in Hyderabad
36 practice questions with answers for SQL interviews in Hyderabad.
SQL jobs in Hyderabad
Hyderabad has large engineering and capability centres of global technology, banking and pharma companies around HITEC City and the Financial District. Many roles are with global capability centres that work with teams in the US and Europe.
Below are 36 questions that match the mix of service, product and domain employers hiring data analyst (sql)s in Hyderabad.
A query that ran in 1 second now takes 40 seconds after a data load. What do you check?
Show answer
Join three tables to get total sales by product category.
Show answer
Find employees who earn more than their department average.
Show answer
How do you get the top 3 rows in different databases?
Show answer
How do you prevent SQL injection in applications?
Show answer
Your NOT IN query returns zero rows even though you expect results. What do you check?
Show answer
An interviewer asks to show each employee's salary next to their department's average. How do you do it?
Show answer
What are referential actions such as ON DELETE CASCADE?
Show answer
What is a composite index and why does column order matter?
Show answer
What is the difference between ROWS and RANGE frames?
Show answer
How do you concatenate values within a group?
Show answer
Tell me about a production incident involving a database and how you handled it.
Show answer
Calculate a 7-day moving average of daily active users.
Show answer
Find duplicate email addresses in a users table.
Show answer
Tell me about a time you automated a manual data task with SQL.
Show answer
What are aggregate functions in SQL?
Show answer
A table stores phone numbers as 'ph1, ph2, ph3' in one column. What is wrong and how do you fix it?
Show answer
Calculate the median salary per department.
Show answer
What is the difference between INNER JOIN and LEFT JOIN?
Show answer
Find departments where every employee earns above 40000.
Show answer
What are surrogate keys and natural keys?
Show answer
Write a query to get employees from Delhi with salary above 50000, highest first.
Show answer
A LEFT JOIN is returning fewer rows than the left table. Why could that happen?
Show answer
What are anti joins and semi joins?
Show answer
What are database statistics and why do they matter?
Show answer
How do you insert, update and delete a row?
Show answer
Tell me about a time you used advanced SQL to solve a business problem.
Show answer
What is the difference between a join and a union?
Show answer
What is a materialised view?
Show answer
What is a window frame and what is the default frame?
Show answer
What is the difference between SUM with CASE and filtering with WHERE?
Show answer
You need to delete duplicate rows but keep one copy of each. How do you do it?
Show answer
Your application logs frequent deadlock errors at peak hours. How do you investigate and reduce them?
Show answer
Can you use window functions with aggregate functions in the same query?
Show answer
Create an index to speed up searching orders by customer and date.
Show answer
Companies with offices in Hyderabad (15)
TCS
SQL interview questions
Mumbai, Chennai, Pune +2
View questionsInfosys
SQL interview questions
Bengaluru, Mysuru, Pune +2
View questionsWipro
SQL interview questions
Bengaluru, Hyderabad, Pune +2
View questionsAccenture
SQL interview questions
Bengaluru, Hyderabad, Pune +2
View questionsCognizant
SQL interview questions
Chennai, Bengaluru, Pune +2
View questionsCapgemini
SQL interview questions
Mumbai, Bengaluru, Pune +2
View questionsHCLTech
SQL interview questions
Noida, Chennai, Bengaluru +2
View questionsTech Mahindra
SQL interview questions
Pune, Hyderabad, Bengaluru +2
View questionsAmazon
SQL interview questions
Bengaluru, Hyderabad, Chennai +2
View questionsMicrosoft
SQL interview questions
Hyderabad, Bengaluru, Noida +2
View questionsFlipkart
SQL interview questions
Bengaluru, Hyderabad
View questionsSwiggy
SQL interview questions
Bengaluru, Hyderabad
View questionsJP Morgan Chase
SQL interview questions
Mumbai, Bengaluru, Hyderabad
View questionsGoldman Sachs
SQL interview questions
Bengaluru, Hyderabad, Mumbai
View questionsDeloitte
SQL interview questions
Hyderabad, Bengaluru, Mumbai +2
View questionsFrequently asked questions
Which companies hire SQL professionals in Hyderabad?
Companies with large offices in Hyderabad include TCS, Infosys, Wipro, Accenture, Cognizant, Capgemini, HCLTech, Tech Mahindra, Amazon, Microsoft. Use their company pages below to practise employer-specific sets.
Are SQL interviews in Hyderabad different from other cities?
The questions depend more on the company than the city. Hyderabad's mix of employers decides the style: Many roles are with global capability centres that work with teams in the US and Europe
How do I find SQL jobs in Hyderabad?
Shortlist companies with Hyderabad offices, keep your CV focused on SQL projects, apply on company career pages and job portals with the Hyderabad filter, and practise the questions on this page before each interview.