ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Paytm SQL Interview Question

Автор: Akshayy Ekka

Загружено: 2026-02-11

Просмотров: 181

Описание: In this video, I walk through a real SQL interview question asked for a Senior Analytics Engineer position. At this level, interviewers care far more about your approach, reasoning, and clarity of thought than just the final SQL query.

CREATE TABLE employee_timetable (
emp_id INT NOT NULL,
emp_name VARCHAR(100) NOT NULL,
dep_id INT NOT NULL,
in_out VARCHAR(3) NOT NULL
CHECK (in_out IN ('in', 'out')),
in_out_time TIMESTAMP NOT NULL
);

INSERT INTO employee_timetable (emp_id, emp_name, dep_id, in_out, in_out_time) VALUES

-- Employee 101
(101, 'Alice', 10, 'in', '2026-01-28 09:00:00'),
(101, 'Alice', 10, 'out', '2026-01-28 13:00:00'),
(101, 'Alice', 10, 'in', '2026-01-28 14:10:00'),
(101, 'Alice', 10, 'out', '2026-01-28 18:00:00'),

-- Employee 102
(102, 'Bob', 20, 'in', '2026-01-28 08:45:00'),
(102, 'Bob', 20, 'out', '2026-01-28 12:30:00'),
(102, 'Bob', 20, 'in', '2026-01-28 13:15:00'),
(102, 'Bob', 20, 'out', '2026-01-28 17:45:00'),

-- Employee 103
(103, 'Charlie', 10, 'in', '2026-01-28 09:10:00'),
(103, 'Charlie', 10, 'out', '2026-01-28 12:50:00'),
(103, 'Charlie', 10, 'in', '2026-01-28 13:40:00'),
(103, 'Charlie', 10, 'out', '2026-01-28 18:20:00'),

-- Employee 104
(104, 'Diana', 30, 'in', '2026-01-28 10:00:00'),
(104, 'Diana', 30, 'out', '2026-01-28 14:05:00'),
(104, 'Diana', 30, 'in', '2026-01-28 15:00:00'),
(104, 'Diana', 30, 'out', '2026-01-28 19:00:00'),

-- Employee 105
(105, 'Ethan', 20, 'in', '2026-01-28 10:05:00'),
(105, 'Ethan', 20, 'out', '2026-01-28 13:00:00'),
(105, 'Ethan', 20, 'in', '2026-01-28 14:00:00'),
(105, 'Ethan', 20, 'out', '2026-01-28 17:30:00'),

-- Employee 106
(106, 'Fiona', 30, 'in', '2026-01-28 10:15:00'),
(106, 'Fiona', 30, 'out', '2026-01-28 12:45:00'),
(106, 'Fiona', 30, 'in', '2026-01-28 13:30:00'),
(106, 'Fiona', 30, 'out', '2026-01-28 18:00:00'),

-- Employee 107
(107, 'George', 10, 'in', '2026-01-28 10:30:00'),
(107, 'George', 10, 'out', '2026-01-28 13:20:00'),
(107, 'George', 10, 'in', '2026-01-28 14:10:00'),
(107, 'George', 10, 'out', '2026-01-28 17:50:00'),

-- Employee 108
(108, 'Hannah', 40, 'in', '2026-01-28 10:00:00'),
(108, 'Hannah', 40, 'out', '2026-01-28 12:30:00'),
(108, 'Hannah', 40, 'in', '2026-01-28 13:15:00'),
(108, 'Hannah', 40, 'out', '2026-01-28 16:45:00'),

-- Employee 109
(109, 'Ian', 20, 'in', '2026-01-28 10:20:00'),
(109, 'Ian', 20, 'out', '2026-01-28 13:40:00'),
(109, 'Ian', 20, 'in', '2026-01-28 14:30:00'),
(109, 'Ian', 20, 'out', '2026-01-28 18:00:00');

To demonstrate this clearly, I solve the same problem using two different SQL approaches:
A simple, logic-driven solution that relies on strong SQL fundamentals
An alternative solution using window functions, showcasing a more advanced and scalable approach

By comparing both methods, you will understand why different SQL strategies exist, when to use each, and how to justify your approach during senior-level interviews.

What You Will Learn in This Video:
Writing clean, maintainable SQL
When a simple approach is better than an advanced one
Practical use of window functions in real interview scenarios
How to explain your logic clearly to interviewers

This type of question is commonly used to test depth of understanding, optimization thinking, and SQL maturity, especially for analytics engineering and senior data roles.

Gears I use:
I use bags from RoadGods. Buy yours using the link below:
https://www.roadgods.com/?ref=AKSHAYY...
Or use Coupon Code: AKSHAYYEKKA for 12% off on other products.
I use a DPR Mini SE to protect my internet for life. Buy it from the link below:
https://shop.deeper.network?sca_ref=9...
Or use Coupon Code: AKSHAYSAGAR for 5% off on other products.

I use the following gadgets (You can buy them from the links given!):

Macbook Pro: https://amzn.to/4a6pSmL
Sennhieser Profile: https://amzn.to/4c3JdHW
Logitech MX3S: https://amzn.to/4a8TT5w
SKULLSAINTS CoreX Mini PC: https://amzn.to/3NROuZ9

Like, Share & Subscribe

If this SQL walkthrough helped you, make sure to like the video, share it with your peers, and subscribe to the channel for more senior-level SQL interview questions and analytics-focused problem solving.

Follow me for more SQL interview questions, analytics engineering concepts, and advanced data problem-solving tutorials.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Paytm SQL Interview Question

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Delta Air Lines SQL Interview Question, No Windows Function #sql #interview #question #deltaairlines

Delta Air Lines SQL Interview Question, No Windows Function #sql #interview #question #deltaairlines

Проверьте свои навыки SQL с помощью этих реальных вопросов для собеседования!

Проверьте свои навыки SQL с помощью этих реальных вопросов для собеседования!

Amazon SQL Interview Question | Delivery Date Logic #amazon #sql #interview #logic #businessanalyst

Amazon SQL Interview Question | Delivery Date Logic #amazon #sql #interview #logic #businessanalyst

Решаю SQL задачи из Сбер и VK на Junior и Middle

Решаю SQL задачи из Сбер и VK на Junior и Middle

#4 Deloitte SQL Question | Streak or Consecutive Events

#4 Deloitte SQL Question | Streak or Consecutive Events

Как PostgreSQL может сделать больно, когда не ожидаешь — Михаил Жилин

Как PostgreSQL может сделать больно, когда не ожидаешь — Михаил Жилин

An Interesting SQL Interview Question #sql #inteview #data

An Interesting SQL Interview Question #sql #inteview #data

У программистов осталось 18 месяцев, Нейросеть удалила код AWS, Унитазы спасут ИТ | Как Там АйТи #87

У программистов осталось 18 месяцев, Нейросеть удалила код AWS, Унитазы спасут ИТ | Как Там АйТи #87

Посмотрите, как я за считанные минуты выполняю проект по анализу данных с помощью SQL.

Посмотрите, как я за считанные минуты выполняю проект по анализу данных с помощью SQL.

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

Как ответить на вопросы про Kafka на интервью? Полный разбор

Как ответить на вопросы про Kafka на интервью? Полный разбор

SQL Order of Execution Mind Map for SQL Interviews #sql #interview #question #hack

SQL Order of Execution Mind Map for SQL Interviews #sql #interview #question #hack

Лучший способ учить немецкие слова - Yomitan + Anki

Лучший способ учить немецкие слова - Yomitan + Anki

Уоррен Баффет: Как вырваться из нищеты. (Петля бедности)

Уоррен Баффет: Как вырваться из нищеты. (Петля бедности)

Как бы я быстро выучил SQL (если бы мог начать сначала)

Как бы я быстро выучил SQL (если бы мог начать сначала)

Создание кликабельных вкладок внутри электронной таблицы Excel

Создание кликабельных вкладок внутри электронной таблицы Excel

КАК УСТРОЕН TCP/IP?

КАК УСТРОЕН TCP/IP?

6 SQL-соединений, которые вы ОБЯЗАТЕЛЬНО должны знать! (Анимация + Практика)

6 SQL-соединений, которые вы ОБЯЗАТЕЛЬНО должны знать! (Анимация + Практика)

Мир AI-агентов уже наступил. Что меняется прямо сейчас

Мир AI-агентов уже наступил. Что меняется прямо сейчас

AMEX SQL Interview Question #sql #interview #data #dataanalytics #amex

AMEX SQL Interview Question #sql #interview #data #dataanalytics #amex

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]