LinkedIn SQL Interview Question for Data Scientists and Data Analysts (StrataScratch 10304)

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

Frederik Müller

Frederik Müller

Күн бұрын

Пікірлер: 17
@samirpatil551
@samirpatil551 3 жыл бұрын
Hey, bro thank you so much for making videos for us. Please don't be disappointed with video views you will grow in the future
@frederikmuller
@frederikmuller 3 жыл бұрын
Thanks, I'll just try to become more consistent again and hopefully see the channel grow. Thanks for the support!
@GuruprakashAcademy
@GuruprakashAcademy 2 жыл бұрын
Thanks Bro. A nice explanation. I have a question, Is it possible to get a entry level data analyst position with very good skill in SQL.
@frederikmuller
@frederikmuller 2 жыл бұрын
yes, definitely. it’s the main skill you need.
@GuruprakashAcademy
@GuruprakashAcademy 2 жыл бұрын
@@frederikmuller Thank you
@hariprasath9997
@hariprasath9997 3 жыл бұрын
Hi bro ....can y plz tell me how to optimise this query ....in mysql
@kartiikss8515
@kartiikss8515 3 жыл бұрын
Lovely explanation. I worked this problem out too. Just wanted to know if it is important to mention which join operation we're using. For ex. In the sub_query calculating SUM(salary) for every project_id, I used an INNER JOIN whereas you used just a JOIN function. For the outer query, I tried with just a JOIN function like you did and it worked. But, I'm kind of stuck with what JOIN operation is exactly happening when you say just a JOIN instead of which type of JOIN. Also, what is the query performance difference between 1. ON linkedin_projects.id = yearly_salary.project_id AND CEILING((end_date - start_date)*yearly_salary_sum/365::float) > budget AND 2. ON linkedin_projects.id = yearly_salary.project_id WHERE CEILING((end_date - start_date)*yearly_salary_sum/365::float) > budget Thank you so much for your help!
@frederikmuller
@frederikmuller 3 жыл бұрын
INNER JOIN refers to the same as JOIN. JOIN is just a short form of writing INNER JOIN (the default). It's similar to omitting the sort order when using ORDER BY. The default is ASC and that's what it's gonna assume. There are a lot of things that go into query performance including column indexing and table structure. In theory, including a filter in the ON clause instead of the WHERE should filter the data earlier (as part of the join) and increase performance. This is due to the order of execution in SQL that evaluates JOINs before the WHERE clause.
@kartiikss8515
@kartiikss8515 3 жыл бұрын
@@frederikmuller Got it. Thank you so much Fred! Love your content!
@hariprasath9997
@hariprasath9997 3 жыл бұрын
Instaed of :: float , what we can use in mysql server ?
@frederikmuller
@frederikmuller 3 жыл бұрын
you could just multiply by 1.0 to convert it to float
@hariprasath9997
@hariprasath9997 3 жыл бұрын
@@frederikmuller will u plz send me the code ..?
@hariprasath9997
@hariprasath9997 3 жыл бұрын
@@frederikmuller plz repl me sir ........will u plz send me the sql query for this ? Plz
@ayeoh47
@ayeoh47 2 жыл бұрын
ill try to get back to this if you still need it lmk
@HenggaoCai
@HenggaoCai 3 жыл бұрын
Salary or celery?
@frederikmuller
@frederikmuller 3 жыл бұрын
hehe
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 36 МЛН
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 45 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 125 МЛН
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН
The 25 SQL Questions You MUST Know for Data Analyst Interviews
32:47
KSR Datavizon
Рет қаралды 241 М.
How He Got $600,000 Data Engineer Job
19:08
Sundas Khalid
Рет қаралды 159 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 36 МЛН