1/13/22, 6:27 AM Preeti Sondhi on LinkedIn: #interviewquestions #dataanalystjobs #datascience
Join now Sign in
Preeti Sondhi
Preeti Sondhi
Data Analyst @JLL | YouTuber @[Link]/c/PreetiSondhi
8mo
· Edited
Day 10 | Interview Questions for Data Analyst/ Data Scientist/ Business Analyst/ Tableau Developer
Link to Answer Video: [Link]
1) Are left joins faster than inner joins?
2) When would you choose a left join over an inner join?
3) Let's say you have employee table with First_name, last_name, salary and department as columns (refer
attached image). How can we get the minimum, maximum and Average salaries.
4) From the same table, How can we get the min, max and Average salary for each department?
5) From the same table, how to get variance and standard deviation of salary for each department?
6) If you see the output, there are many values after decimal for Insurance department, how to get rid of
that in output.
7) Combine First_name and last_name as single column from the same table separated by a space.
8) How to get employee details from the table whose first name contains alphabet 'a'.
Do checkout my YouTube channel for similar videos.
Find the link in comments section.
#interviewquestions #dataanalystjobs #datascience #businessanalyst #tableaudeveloper #sql
92 ·
8 Comments
Like Comment Share
Preeti Sondhi
8mo
Link to my channel: [Link]
Like
Reply
2 Likes
Shital Shende
8mo
Thanks for posting,your post are very useful for us, mam one request can you please
[Link] 1/10
1/13/22, 6:27 AM Preeti Sondhi on LinkedIn: #interviewquestions #dataanalystjobs #datascience
make a video on how to write about sql project on resume and how to explain to inter‐
viewer just for fresher.. please mam
Like
Reply
1 Like
Khemchand Velis
8mo
This is a helpful information
Like
Reply
1 Like
Bikram Sahoo
8mo
Thanks for sharing
Like
Reply
1 Like
Ananya Nayak
7mo
For question 4, we can also solve it using window function.
SELECT AVG(salary) OVER(PARTION BY salary) as average_salary
Like
Reply
See more comments
To view or add a comment, sign in
See other posts by Preeti
Preeti Sondhi
Data Analyst @JLL | YouTuber @[Link]/c/PreetiSondhi
2d
Day 15 | Interview Questions for Senior Data Analyst/ Business Intelligence Analyst/ Data Engineer
1) What is the difference between union and union all. What are the Conditions for union and union all.
Which one is faster?
2) What are the different types of functions in SQL and their use cases?
3) What is a Stored Procedure?
4) What is the difference between function and Stored Procedure.
5) Let's say we have a database where gender column values are interchanged by mistake. Write a query
to change male to female and female to male in the gender column.
I will upload the answer Video on my channel soon.
𝑰𝒇 𝒚𝒐𝒖 𝒉𝒂𝒗𝒆𝒏'𝒕 𝒔𝒖𝒃𝒔𝒄𝒓𝒊𝒃𝒆𝒅 𝒎𝒚 𝒄𝒉𝒂𝒏𝒏𝒆𝒍 𝒚𝒆𝒕, 𝒅𝒐 𝒔𝒖𝒃𝒔𝒄𝒓𝒊𝒃𝒆!!
𝑳𝒊𝒏𝒌 𝒕𝒐 𝒎𝒚 𝒄𝒉𝒂𝒏𝒏𝒆𝒍 𝒘𝒊𝒍𝒍 𝒃𝒆 𝒇𝒐𝒖𝒏𝒅 𝒂𝒔 𝒑𝒂𝒓𝒕 𝒐𝒇 𝒕𝒉𝒆 𝒇𝒊𝒓𝒔𝒕 𝒄𝒐𝒎𝒎𝒆𝒏𝒕.
#interviewquestions #interviewpreparation #dataanalystjobs #SQL #datascience #senioranalyst #busin
essintelligence #Dataengineers
[Link] 2/10
1/13/22, 6:27 AM Preeti Sondhi on LinkedIn: #interviewquestions #dataanalystjobs #datascience
60 ·
9 Comments
Like Comment Share
To view or add a comment, sign in
Preeti Sondhi
Data Analyst @JLL | YouTuber @[Link]/c/PreetiSondhi
1w
Happy New Year Guys and I'm finally back from a long break on LinkedIn!
I’m sorry if I was not able to revert you back for your message and I am really so overwhelmed for the
responses I'm getting for the videos and interview questions that I've shared. I will start posting more
interview questions and videos on my channel soon (Link to my channel is in first comment).
Here is another one common Interview Question asked many times about sql rank functions:
What is the difference between ROW_NUMBER, DENSE_RANK, RANK in sql?
You can get the detailed answer from here: [Link]
𝑰𝒇 𝒚𝒐𝒖 𝒉𝒂𝒗𝒆𝒏'𝒕 𝒔𝒖𝒃𝒔𝒄𝒓𝒊𝒃𝒆𝒅 𝒎𝒚 𝒄𝒉𝒂𝒏𝒏𝒆𝒍 𝒚𝒆𝒕, 𝒅𝒐 𝒔𝒖𝒃𝒔𝒄𝒓𝒊𝒃𝒆!!
#interviewquestions #interviewpreparation #dataanalystjobs #SQL #datascience #businessanalyst #ran
kfunctions #Dataengineers
Overview of SQL RANK functions
[Link]
55 ·
3 Comments
Like Comment Share
To view or add a comment, sign in
Preeti Sondhi
[Link] 3/10
1/13/22, 6:27 AM Preeti Sondhi on LinkedIn: #interviewquestions #dataanalystjobs #datascience
Preeti Sondhi
Data Analyst @JLL | YouTuber @[Link]/c/PreetiSondhi
4mo
“Walk me through your resume.”
The main issue with this question is that it sounds suspiciously straightforward.
But going through the entire resume from top to bottom does not work as it’ll take up too much time.
So what do recruiters really want to know?
So, let me share how I answered this and feel free to share your answer at the comment below
1) Start off with my education background. I would not get into details here, this is just a natural starting
point.
2) Move on to my professional history and relevant projects I have worked on. Keep this super brief. (Will
relate my competencies and connect them with the role that I applied)
3) Finish with my career goals and how the job I've applied for is the natural next step for me.
It is also important to take care of what not to say instead of what to say.
So here the COMMON MISTAKES TO AVOID WHILE ANSWERING
1) Don’t ramble on: Be concise and relevant, your whole answer really shouldn’t last more than 2-3
minutes.
2) Don’t talk about irrelevant experiences.
3) Don’t go negative for your former work experiences.
Hope it helps.
#career #resumetips #resumewriting #resume #job #hiring #interviewpreparation
52 ·
9 Comments
Like Comment Share
To view or add a comment, sign in
Preeti Sondhi
Data Analyst @JLL | YouTuber @[Link]/c/PreetiSondhi
6mo
Best way to start the day with such a happy note -
#jobsearch #mentorship #guidance #interviewpreparation #happytohelp
[Link] 4/10
1/13/22, 6:27 AM Preeti Sondhi on LinkedIn: #interviewquestions #dataanalystjobs #datascience
43
Like Comment Share
To view or add a comment, sign in
Preeti Sondhi
Data Analyst @JLL | YouTuber @[Link]/c/PreetiSondhi
6mo
· Edited
SQL Theoretical Interview Questions for Data Analyst / Data Engineer/ Data Scientist
[Link] all unique combination of two rows.
2. Why use coalesce vs case statements?
3. In what cases is a subquery a bad idea?
4. Why is a temp table a good idea? Bad idea?
5. How to filter using a join.
If anyone is interested for similar content, Do checkout my YouTube channel.
𝑳𝒊𝒏𝒌 𝒕𝒐 𝒎𝒚 𝒄𝒉𝒂𝒏𝒏𝒆𝒍 : [Link]
#interviewquestions #interviewpreparation #dataanalystjobs #SQL #datascience #businessanalyst #tab
leaudeveloper #Dataengineers
138 ·
13 Comments
Like Comment Share
To view or add a comment, sign in
Preeti Sondhi
Data Analyst @JLL | YouTuber @[Link]/c/PreetiSondhi
7mo
Day 14 | Interview Questions for Data Analyst by Flipkart
[Link] 5/10
1/13/22, 6:27 AM Preeti Sondhi on LinkedIn: #interviewquestions #dataanalystjobs #datascience
1) Let's say you have a Flipkart Database, Now what could be the possible tables, their attributes and the
relation between those tables.
2) How to see the number of customers who ordered in the month of May?
3) Same ques as above, but there could be a chance that same person has ordered thrice in same month,
So I don't want to see same person second time.
4) we want customer ID, total sales, total number of orders for each customer, who ordered in the month
"may"?
5) Get Customer IDs and names who are from Delhi and have transacted more than 5,000 in last 3
months.
I will upload the answer Video on my channel soon.
𝑰𝒇 𝒚𝒐𝒖 𝒉𝒂𝒗𝒆𝒏'𝒕 𝒔𝒖𝒃𝒔𝒄𝒓𝒊𝒃𝒆𝒅 𝒎𝒚 𝒄𝒉𝒂𝒏𝒏𝒆𝒍 𝒚𝒆𝒕, 𝒅𝒐 𝒔𝒖𝒃𝒔𝒄𝒓𝒊𝒃𝒆!!
𝑳𝒊𝒏𝒌 𝒕𝒐 𝒎𝒚 𝒄𝒉𝒂𝒏𝒏𝒆𝒍 𝒘𝒊𝒍𝒍 𝒃𝒆 𝒇𝒐𝒖𝒏𝒅 𝒂𝒔 𝒑𝒂𝒓𝒕 𝒐𝒇 𝒕𝒉𝒆 𝒇𝒊𝒓𝒔𝒕 𝒄𝒐𝒎𝒎𝒆𝒏𝒕.
#interviewquestions #interviewpreparation #flipkartinterview
#dataanalystjobs #SQL #datascience #businessanalyst #tableaudeveloper #Dataengineers
156 ·
2 Comments
Like Comment Share
To view or add a comment, sign in
Preeti Sondhi
Data Analyst @JLL | YouTuber @[Link]/c/PreetiSondhi
7mo
SQL Interview Question for Data Analyst/ Data Engineering/ Data Scientist
At a school, there are two tables:
Students
StudentID, StudentName, Address, ParentName, Parentemail
Grades
StudentID, TestDate, Subject, Grade
The Principal wants to send emails to parents of students who have done poorly in at least one subject in
the last 6 months.
Make necessary assumptions and solve the data problem in SQL with Joins and without Joins.
If anyone is interested for similar content, Do checkout my YouTube channel.
𝑰𝒇 𝒚𝒐𝒖 𝒉𝒂𝒗𝒆𝒏'𝒕 𝒔𝒖𝒃𝒔𝒄𝒓𝒊𝒃𝒆𝒅 𝒎𝒚 𝒄𝒉𝒂𝒏𝒏𝒆𝒍 𝒚𝒆𝒕, 𝒅𝒐 𝒔𝒖𝒃𝒔𝒄𝒓𝒊𝒃𝒆!!
𝑳𝒊𝒏𝒌 𝒕𝒐 𝒎𝒚 𝒄𝒉𝒂𝒏𝒏𝒆𝒍 𝒘𝒊𝒍𝒍 𝒃𝒆 𝒇𝒐𝒖𝒏𝒅 𝒂𝒔 𝒑𝒂𝒓𝒕 𝒐𝒇 𝒕𝒉𝒆 𝒇𝒊𝒓𝒔𝒕 𝒄𝒐𝒎𝒎𝒆𝒏𝒕.
[Link] 6/10
1/13/22, 6:27 AM Preeti Sondhi on LinkedIn: #interviewquestions #dataanalystjobs #datascience
#interviewquestions #interviewpreparation #dataanalystjobs #SQL #datascience #businessanalyst #tab
leaudeveloper #Dataengineers
120 ·
3 Comments
Like Comment Share
To view or add a comment, sign in
Preeti Sondhi
Data Analyst @JLL | YouTuber @[Link]/c/PreetiSondhi
7mo
This feedback really made my day. I was feeling really very happy when he told me that he got a job as a
Senior Data Analyst.
#feedbackmatters #happytohelp #interviewpreparation
93 ·
6 Comments
Like Comment Share
To view or add a comment, sign in
Preeti Sondhi
Data Analyst @JLL | YouTuber @[Link]/c/PreetiSondhi
7mo
Day 13 | SQL Interview Questions for Data Analyst/ Data Scientist/ Business Analyst
1) Who is getting the highest salary from employee table?
2) Find the second highest salary from Table.
3) If date of birth is given in the table. Find the highest salary whose age is between 30 to 50 yrs.
4) Write SQL Query to find the number of employees according to department whose DOB is between
[Link] 7/10
1/13/22, 6:27 AM Preeti Sondhi on LinkedIn: #interviewquestions #dataanalystjobs #datascience
01/01/1992 to 31/12/1994.
If anyone is interested for similar content, Do checkout my YouTube channel.
𝑰𝒇 𝒚𝒐𝒖 𝒉𝒂𝒗𝒆𝒏'𝒕 𝒔𝒖𝒃𝒔𝒄𝒓𝒊𝒃𝒆𝒅 𝒎𝒚 𝒄𝒉𝒂𝒏𝒏𝒆𝒍 𝒚𝒆𝒕, 𝒅𝒐 𝒔𝒖𝒃𝒔𝒄𝒓𝒊𝒃𝒆!!
𝑳𝒊𝒏𝒌 𝒕𝒐 𝒎𝒚 𝒄𝒉𝒂𝒏𝒏𝒆𝒍 𝒘𝒊𝒍𝒍 𝒃𝒆 𝒇𝒐𝒖𝒏𝒅 𝒂𝒔 𝒑𝒂𝒓𝒕 𝒐𝒇 𝒕𝒉𝒆 𝒇𝒊𝒓𝒔𝒕 𝒄𝒐𝒎𝒎𝒆𝒏𝒕.
#interviewquestions #interviewpreparation #dataanalystjobs #SQL #datascience #businessanalyst #tab
leaudeveloper #Dataengineers
93 ·
9 Comments
Like Comment Share
To view or add a comment, sign in
Preeti Sondhi
Data Analyst @JLL | YouTuber @[Link]/c/PreetiSondhi
7mo
Hey Everyone!
Can anyone tell me the solution for the question number 6. (asked by Sachin D N. 1st)
Display the year between 2000 and 2020 which did not has even a single movie released.
Here is my solution for this question:
Select year(release_date)
from movie
where movie_id !=1 and release_date between '2000/01/01' and '2020/12/31'
But he is saying that this is not correct. I have suggested few more ways but nothing is working. If anyone
knows the solution, Please write down in comment.
[Link] 8/10
1/13/22, 6:27 AM Preeti Sondhi on LinkedIn: #interviewquestions #dataanalystjobs #datascience
Sachin D N. 1st Hope you will get the answer now.
If anyone is interested for similar content, Do checkout my YouTube channel in the first comment.
25 ·
11 Comments
Like Comment Share
To view or add a comment, sign in
5,014 followers
63 Posts
· 0 Articles
View Profile
Follow
© 2022 About
Accessibility User Agreement
Privacy Policy Cookie Policy
Copyright Policy Brand Policy
[Link] 9/10
1/13/22, 6:27 AM Preeti Sondhi on LinkedIn: #interviewquestions #dataanalystjobs #datascience
Guest Controls Community Guidelines
Language
[Link] 10/10