Complex Datasets with SQL (Data Scientist Mock Interview)

  Рет қаралды 4,662

Exponent

Exponent

Күн бұрын

Don't leave your SQL interviews to chance. Sign up for Exponent's SQL interview course today: bit.ly/3PnLhzg
In this mock SQL interview, we ask an Adobe Data Scientist to pull customer and transaction data at an e-commerce company. They discuss window functions, aggregations, and indexing in SQL.
To extract key data from large datasets, use appropriate queries or functions. Window functions are useful for larger tables, allowing partitioning by various columns and sorting data. Proper indexing of tables can also improve performance.
When writing queries, consider details and structure, and comment on logic and sub-parts. Ask clarifying questions to ensure assumptions are correct.
To optimize queries that are repeatedly run over time, identify primary and foreign keys and index tables appropriately.
Chapters (Powered by ChapterMe) -
00:00 - Intro
00:42 - Query reports users, transactions, order amounts
03:31 - Monthbymonth reporting with distinct counts
04:40 - Monthly reporting query pulling roles, transactions, order amount
05:00 - Date part function SQL for 2020 year summary
05:37 - Output Monthly name, customers, orders, order amount
05:57 - Perfect query improvement tips
08:18 - Query output for users orders
09:10 - Logic for capturing users orders
11:08 - Window functions offer more scalability, flexibility
12:19 - Excellent queries, thoughtful actions comments
14:01 - Optimizations for faster queries
14:42 - Indexing speeds up SQL queries
👉 Subscribe to our channel: bit.ly/exponentyt
🕊️ Follow us on Twitter: bit.ly/exptweet
💙 Like us on Facebook for special discounts: bit.ly/exponentfb
📷 Check us out on Instagram: bit.ly/exponentig
📹 Watch us on TikTok: bit.ly/exponenttikttok
ABOUT US:
Did you enjoy this interview question and answer? Want to land your dream career? Exponent is an online community, course, and coaching platform to help you ace your upcoming interview. Exponent has helped people land their dream careers at companies like Google, Microsoft, Amazon, and high-growth startups. Exponent is currently licensed by Stanford, Yale, UW, and others.
Our courses include interview lessons, questions, and complete answers with video walkthroughs. Access hours of real interview videos, where we analyze what went right or wrong, and our 1000+ community of expert coaches and industry professionals, to help you get your dream job and more!
#sql #sqlinterview #datascience #businessanalyst

Пікірлер: 5
Analyze a User's Posts - Data Analyst SQL Mock Interview
51:33
Data Science SQL Mock Interview - Analyze Marketing Channels
23:23
No empty
00:35
Mamasoboliha
Рет қаралды 10 МЛН
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 11 МЛН
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 20 МЛН
Interview with an Amazon BI Engineer
23:36
DataInterview
Рет қаралды 11 М.
Work Week In My Life | Data Scientist at Spotify
16:42
julia fei
Рет қаралды 951 М.
Fake News Detection System - Machine Learning Mock Interview
16:08
Which Database Model to Choose?
24:38
High-Performance Programming
Рет қаралды 49 М.
The Harsh Reality of Being a Data Engineer
14:21
Jash Radia
Рет қаралды 226 М.
No empty
00:35
Mamasoboliha
Рет қаралды 10 МЛН