SQL Interview Questions in Kolkata
36 practice questions with answers for SQL interviews in Kolkata.
SQL jobs in Kolkata
Kolkata has a steady IT-services and BFSI technology job market around Salt Lake Sector V and New Town. Many openings are with service companies and their delivery centres, with a focus on strong fundamentals.
Below are 36 questions that match the mix of service, product and domain employers hiring data analyst (sql)s in Kolkata.
How do you get the top 3 rows in different databases?
Show answer
What is a star schema and a snowflake schema?
Show answer
Tell me about a time you significantly improved query performance.
Show answer
What is the CASE expression and where can it be used?
Show answer
Assign each customer to a spending quartile.
Show answer
What are referential actions such as ON DELETE CASCADE?
Show answer
A search on name LIKE '%sharma%' is very slow on a 20 million row table. What can you do?
Show answer
What is a SARGable query and why does it matter?
Show answer
What are aggregate functions in SQL?
Show answer
What is the difference between ROWS and RANGE frames?
Show answer
An interviewer asks for the Nth highest salary in a reusable way. How do you answer?
Show answer
What is a materialised view?
Show answer
You need customers who bought both product A and product B. How would you write it?
Show answer
What is a window frame and what is the default frame?
Show answer
Write an upsert that inserts a row or updates it if it exists.
Show answer
Are CTEs materialised or inlined?
Show answer
What are the common SQL data types?
Show answer
What is a subquery and where can it be used?
Show answer
What is the difference between GROUP BY and window functions?
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
Average order value looks too low in a report. What could be wrong?
Show answer
What are FIRST_VALUE, LAST_VALUE and NTH_VALUE?
Show answer
How do you handle a situation where business users dispute your numbers?
Show answer
Rewrite a non-SARGable date filter to use an index.
Show answer
What are DDL, DML, DCL and TCL commands?
Show answer
How does AVG treat NULL values?
Show answer
Write a query for monthly revenue for the current year.
Show answer
What is the difference between CHAR and VARCHAR?
Show answer
How do you insert, update and delete a row?
Show answer
What is the logical order of execution of a SELECT query?
Show answer
Your running total jumps by large amounts on some dates instead of row by row. Why?
Show answer
Find departments where every employee earns above 40000.
Show answer
Show all dates in a month with sales, including days with zero sales.
Show answer
Your query WHERE manager_id <> 5 is not returning employees who have no manager. Why?
Show answer
What do PARTITION BY and ORDER BY do inside OVER?
Show answer
Companies with offices in Kolkata (2)
Frequently asked questions
Which companies hire SQL professionals in Kolkata?
Companies with large offices in Kolkata include Wipro, Cognizant. Use their company pages below to practise employer-specific sets.
Are SQL interviews in Kolkata different from other cities?
The questions depend more on the company than the city. Kolkata's mix of employers decides the style: Many openings are with service companies and their delivery centres, with a focus on strong fundamentals
How do I find SQL jobs in Kolkata?
Shortlist companies with Kolkata offices, keep your CV focused on SQL projects, apply on company career pages and job portals with the Kolkata filter, and practise the questions on this page before each interview.