SQL interview questions and answers | Entry level data analyst interview

  Рет қаралды 66,618

Aaron Oliver

Aaron Oliver

Күн бұрын

0:00 Intro
0:36 Interview question 1
1:38 Interview question 2
3:17 Interview question 3
4:13 Coding question 1
7:16 Coding question 2
9:13 Coding question 3
12:14 Coding question 4
16:41 Coding question 5
So you're preparing for an entry level data analyst / data science role and you want to brush up on your SQL. Or you want to practice some realistic questions that might come your way. Well you've come to the right place. I've got 3 oral questions and 5 coding questions to help you prepare. And as always, if you want even more practice, check out sqlzoo.net
____________________________________
If this video helped you please SUBSCRIBE so we can learn together! This channel is all about what I did to learn the necessary skills and tools to get an internship in data science, and how to turn that into a career, so if you're interested in data science/python/r or productivity/career advice in general, stick around!
____________________________________
FREE resources:
PYTHON:
My video on how to learn python: • Learn Python fast | Ho...
Automate the boring stuff with Python: automatetheboringstuff.com/
Official Python website: www.python.org/about/gettings...
SQL:
SQLZOO: sqlzoo.net/
R:
My video on how to learn R: • Learn R fast | 30 day ...
SWIRL (learn R using R): swirlstats.com/
ISLR: www.statlearning.com/
____________________________________
✴ Attributions ✴
Graphics:
www.pexels.com/

Пікірлер: 62
@AaronMOliver
@AaronMOliver 2 жыл бұрын
If you want to skip ahead to the coding questions they begin at 4:15! Thanks for watching, and let me know if this is helpful, I will do more example interview questions!
@munir8310
@munir8310 Жыл бұрын
Thank you very much for this wonderful video, however I have one question. In question 15 why did you do join with movie table in the main query? We don't need anything from movie table. Below I did it without that join SELECT a.name FROM actor a JOIN casting c ON a.id=c.actorid WHERE c.movieid in (SELECT m.id FROM actor a JOIN casting c ON a.id=c.actorid JOIN movie m ON m.id=c.movieid WHERE a.name='Art Garfunkel') AND a.name!='Art Garfunkel'
@AaronMOliver
@AaronMOliver Жыл бұрын
@@munir8310 great catch you’re right! No need to join on movie since we can just use the movie ID from the casting table
@philipkubiak6041
@philipkubiak6041 17 күн бұрын
Thanks for such a useful video, just liked and subscribed! I know this is a random question lol but I loved the background music so much, do you know if I can find it on KZbin? Thanks Aaron
@juugro
@juugro Жыл бұрын
I usually don't comment on KZbin videos but this was so well put together, awesome stuff thank you :)
@drivetrainerYT
@drivetrainerYT Жыл бұрын
Definitely subbed. Definitely a fan now. Please do more videos in your calm and clearly structured manner. Thanks!
@shahzainahmed6851
@shahzainahmed6851 Жыл бұрын
so helpful and calming rather than overwhelming
@gabiscarabel
@gabiscarabel 7 ай бұрын
Amazing video! Many thanks!
@bhuvanmohinidevi194
@bhuvanmohinidevi194 6 ай бұрын
That was so helpful! Thank you so much big brother!
@NathanSStorey
@NathanSStorey 12 күн бұрын
Thanks for the upload. Great video. Hope it helps with my interview tomorrow!
@jackma9049
@jackma9049 10 ай бұрын
Thanks Aaron, really good and clear tutorial!
@JongeloEntertainment
@JongeloEntertainment Жыл бұрын
Straight to the point and simplified... very interesting 👌 👍
@kristall5390
@kristall5390 Жыл бұрын
Ty! I’m applying for my first data analytics job and this help me verbalize topics that I knew but didn’t know how to say 😅
@AaronMOliver
@AaronMOliver Жыл бұрын
Happy to help, good luck!
@jiigyj11
@jiigyj11 Жыл бұрын
the music was a nice touch and helped me stay focused. Keep doing what you are doing bro. thanks
@ezhankhan1035
@ezhankhan1035 4 ай бұрын
Incredibly helpful video! Thanks Aaron :)
@LA-sw1gv
@LA-sw1gv 5 ай бұрын
Thanks for sharing this. It is really helpful in showing how to think logically and work through the question.
@kavinsuresh5468
@kavinsuresh5468 9 ай бұрын
For the interview question 2 ( 9:00 ) wouldn't it be >= instead of just > because the problem says 'at least' which is inclusive of the given number too.
@AaronMOliver
@AaronMOliver 9 ай бұрын
Good callout! That's correct, yeah. It just so happens in this case you get the correct results anyway, but there are a lot of times that wouldn't be the case, so good catch thanks!
@agirmaus-lh9zi
@agirmaus-lh9zi Жыл бұрын
Thanks so much .. great and relevant content
@yashgala7556
@yashgala7556 Жыл бұрын
Great video, thanks!
@proxyands.b6003
@proxyands.b6003 10 ай бұрын
Loved it. very useful. highly recommended.
@AnilAnvesh
@AnilAnvesh Жыл бұрын
Thanks for this video.
@naamas6153
@naamas6153 Жыл бұрын
Hi, thanks for the video! Where do you get these questions? (I went to the SQLzoo site and couldn't find questions) I would be happy if you can send me a link! Thanks
@aidanthompson5053
@aidanthompson5053 5 ай бұрын
A join us a function in SQL that allows a user to combine 2 different tables based on a set of logic and the columns from those tables that the user defines
@clarafang6398
@clarafang6398 Жыл бұрын
nice video! I will have junior data analyst tech interview next week , and the interviewer said he will give me a case study and test my sql and powerBI skill, I have no idea how it could be. do you have any suggestion for data analytics case studies?
@smolboyi
@smolboyi Жыл бұрын
Thank you 🙏
@TheStubLord
@TheStubLord Жыл бұрын
this is great
@mynameis211
@mynameis211 Жыл бұрын
Lovvvvvve it make more like these
@kc7818
@kc7818 7 ай бұрын
For the last problem, wouldn't it make sense to include "GROUP BY name" at the end of the query, since an actor could have appeared in multiple movies with Art Garfunkel, causing them to be listed multiple times? That didn't happen in this case, so the solution is correct either way, but if you take out the "AND name != 'Art Garfunkel'" at the end, his name shows up three times in the output, one for each movie he was in, so this would be a problem if an actor appeared in multiple movies with him.
@AlimamyConteh-ke1tq
@AlimamyConteh-ke1tq Жыл бұрын
Wow!!!! I just had a 1st round interview for an entry-level Data Analyst position and just received an update back from the recruiter for a 2nd round interview that I am currently preparing for. Thank you so much for this video. It really helped me to understand how to create proper SQL queries I am currently learning from DataCamp.
@AaronMOliver
@AaronMOliver Жыл бұрын
Amazing! Glad it was so helpful!
@AlimamyConteh-ke1tq
@AlimamyConteh-ke1tq Жыл бұрын
Most definitely! I had my 2nd interview last week Monday & waiting to hear back from them by the end of this week.
@markvilla7796
@markvilla7796 6 ай бұрын
Hi! I want to know more about your initial interview.
@pzeid48
@pzeid48 5 ай бұрын
How did it go?
@fireinthehole2272
@fireinthehole2272 5 ай бұрын
@@AlimamyConteh-ke1tq DID YOU GET THE JOB?
@aidanthompson5053
@aidanthompson5053 5 ай бұрын
There are 4 main types of joins: Inner, outer, left, right An inner join retrieves records that have matching values in both tables involved in the join An outer join retrieves records where there is a match in either the left or right table Left join retrieves records from the left table and the matched records from the right table Right join retrieves records from the right table and the matched records from the left table
@aidanthompson5053
@aidanthompson5053 5 ай бұрын
SQL is an abstraction; a language - there’s no implementation involved, just coding syntax MySQL is a piece of software, a relational database management tool that allows you to: use a graphical interface to update schemas, to define data types to give users permissions or revoke them etc.
@rajeevsarkar5315
@rajeevsarkar5315 Жыл бұрын
Hey Aaron can you tell me where I can find the practice sql question except hackerrank
@aidanthompson5053
@aidanthompson5053 5 ай бұрын
A primary key is a unique, non-nullable identifier for each record in a table and it can be either 1 column or multiple columns. However, each table can only have one primary key.
@user-lc9uv6mm6n
@user-lc9uv6mm6n 5 ай бұрын
cool video)
@princemontanaa9704
@princemontanaa9704 Жыл бұрын
bro im trying to be an analyst and im learning pandas, sql, python, tableau, matplotlob and I think this is too much. i didnt know interviews will just ask me simple things like sql
@aidanthompson5053
@aidanthompson5053 5 ай бұрын
SQL is a coding language used to interact with relational databases MySQL is a software used to implement those relational databases
@mikeygrey9855
@mikeygrey9855 Жыл бұрын
Big up yourself
@achilleconte4385
@achilleconte4385 Жыл бұрын
Thanks for sharing your knowledge, was really helpful. Just a quick question: is it common to alias without writing the AS statement?
@AaronMOliver
@AaronMOliver Жыл бұрын
Hey good question. It is common to alias tables without using "AS" but I don't believe you can do that for aliasing variable names in the select statement.
@achilleconte4385
@achilleconte4385 Жыл бұрын
@@AaronMOliver got it, thanks. Have a nice one 💪
@user-fi9rw4vx2b
@user-fi9rw4vx2b 11 ай бұрын
There are three join types - INNER, OUTER and CROSS, not four. You missed the latter one. And you missed FULL OUTER join. Also LEFT, RIGHT and FULL joins are different kinds of OUTER join.
@sayakdas4612
@sayakdas4612 Жыл бұрын
sir, can you please upload a video on how to work on SQL from an excel data project. can you please show a demo project? @AaronMOliver
@Zuranthus
@Zuranthus Жыл бұрын
don't know if you have figured it out yet but you need to import the excel csv into a SQL database manager (ssms, mysql, postgre, oracle, access etc)
@markvilla7796
@markvilla7796 6 ай бұрын
is this really the interview question? or the assessment? I'm sorry don't have an idea but want to learn. Please no bad comment. Thank you so much.
@ayushsrivastava9997
@ayushsrivastava9997 Ай бұрын
It should be >= 10 million coz its atleast right?
@lablondekalalizi9502
@lablondekalalizi9502 8 ай бұрын
Yooooh, I'm typing your questions in chatGPT and it giving me the same answers without event presenting it with tables. This is awesome
@aidanthompson5053
@aidanthompson5053 5 ай бұрын
18:16
@sunnygawande5283
@sunnygawande5283 Жыл бұрын
cte would be better for last question
@Steven-up9ds
@Steven-up9ds Жыл бұрын
And there are gap's
@Paid2Live17
@Paid2Live17 9 ай бұрын
And there are illogical apostrophes on plural nouns
@AzzDesignHD
@AzzDesignHD Жыл бұрын
The music is distracting bro, great vid but litterally if it's a education video then make it raw, you don't need to make entertaining as in putting in music. Thanks for the info tho 🙂
@OmariTube
@OmariTube Жыл бұрын
Brub what, I was able to understand with that music in the background. It's not bad really
@Paid2Live17
@Paid2Live17 9 ай бұрын
Lmao the music is so low you can barely hear it, always someone trying to find something to complain about...
@ShawnFX
@ShawnFX 8 ай бұрын
@@OmariTube man called him "brub"😂
@funnytime7143
@funnytime7143 Ай бұрын
thank you
Data Science SQL Mock Interview - Analyze Marketing Channels
23:23
О, сосисочки! (Или корейская уличная еда?)
00:32
Кушать Хочу
Рет қаралды 1,9 МЛН
【獨生子的日常】让小奶猫也体验一把鬼打墙#小奶喵 #铲屎官的乐趣
00:12
“獨生子的日常”YouTube官方頻道
Рет қаралды 103 МЛН
Teenagers Show Kindness by Repairing Grandmother's Old Fence #shorts
00:37
Fabiosa Best Lifehacks
Рет қаралды 31 МЛН
Crack the Top 25 SQL Interview Questions - KSR Data Vizon
32:47
KSR Datavizon
Рет қаралды 181 М.
Top 10 Data Analyst Interview Questions (with answers)
15:58
Data Analyst Job Interview - Don't make these 7 mistakes
11:02
Exposing How Alex The Analyst Became a Data Analyst
31:36
Avery Smith - Data Career Jumpstart
Рет қаралды 12 М.
How Neuralink Works 🧠
0:28
Zack D. Films
Рет қаралды 26 МЛН
САМЫЙ дешевый ПК с OZON на RTX 4070
16:16
Мой Компьютер
Рет қаралды 104 М.
The power button can never be pressed!!
0:57
Maker Y
Рет қаралды 34 МЛН
phone charge game #viral #tranding #new #reels
0:18
YODHA GAMING RAAS
Рет қаралды 11 МЛН