You are on page 1of 12

#LifeKoKaroLift

SGC Coaching Session 40:


SQL Interview Practice and Roleplay
Session By:
Agenda: SQL Interview Practice and Roleplay

SQL Interview Questions overview (50 Minutes)

Interview Roleplay (30 minutes)

Doubt resolution - (10 mins)


• Discuss Individual problems and provide conclusion
Introduction

• Explain importance of SQL for Data Analyst


• Especially when we are dealing with the multiple data sources
• Explain role of analytical functions in Data Analysis
Interview Questions.
Write an SQL query that reports the average experience years of all the employees for each
project, rounded to 2 digits
Interview Questions.
Write an SQL query to report the number of calls and the total call duration between each pair of distinct
persons (person1, person2) where person1 < person2.
Interview Questions.

Given a Weather table, write a SQL query to find all dates' Ids with higher
temperature compared to its previous (yesterday's) dates
Interview Questions.

Mary is a teacher in a middle school and she has a table seat storing students' names
and their corresponding seat ids. The column id is a continuous increment. Mary
wants to change seats for the adjacent students.
Can you write a SQL query to output the result for Mary?
Input: Expected O/P:
Interview Questions.
Given the user transactions table, write a query to get the first purchase for each user
Interview Questions.
Write an SQL query to find the start and end number of continuous ranges in table Logs
Few Interview Questions for future reference
5 Common SQL Interview Problems for Data Scientists 📘
46 Questions to test a Data Scientist on SQL 📘
30 SQL Interview Questions curated for FAANG by an Ex-Facebook Data Scientist 📘
SQL Interview Questions 📘
How to ace Data Science Interviews - SQL 📘
3 Must Know SQL Questions to pass your Data Science Interview 📘
10 frequently asked SQL Queries in Interviews 📘
Technical Data Science Interview Questions: SQL and Coding 📘
How to optimize SQL Queries - Datacamp 📘
Ten SQL Concepts You Should Know for Data Science Interviews 📘
https://www.nicksingh.com/posts/30-sql-and-database-design-questions-from-real-data-science-interviews
https://365datascience.com/sql-interview-questions/
https://www.java67.com/2013/04/10-frequently-asked-sql-query-interview-questions-answers-database.html
https://github.com/rbhatia46/Data-Science-Interview-Resources
https://data36.com/sql-interview-questions-tech-screening-data-analysts/
https://gdcoder.com/how-to-nail-a-data-scientist-sql-interview-includes-sql-code/
https://www.datacamp.com/community/tutorials/sql-tutorial-query
Ask your Questions !

Questions?

You might also like