r/learnSQL • u/Turbulent-Crew-2370 • Mar 23 '26
SQL interview prep is honestly confusing af… am I missing something?
I’ve been trying to prepare for SQL/data analyst interviews for the past couple of weeks and I’m kinda fed up at this point.
There’s literally no clear direction anywhere.
Like one day I’m doing LeetCode questions, next day watching some random YouTube video on window functions, then someone says focus on business case studies, then someone else says SQL is basic, focus more on Python…
what am I even supposed to do?
I’ve covered joins, aggregations, window functions etc, and solved a bunch of questions but it still feels like I’m just randomly jumping around topics.
No idea if I’m actually preparing the right way or just wasting time.
Also what even gets asked in real interviews?
Some people say easy stuff, some say super complex queries, some say case studies… feels like everyone had a completely different experience.
I thought by now I’d feel at least a bit confident but honestly I don’t.
Is it just me or is SQL prep just… all over the place with no proper roadmap?
If anyone recently cracked data analyst interviews, what did you ACTUALLY do? Not generic practice SQL, like what specifically helped.
8
u/mikeblas Mar 23 '26
There is no formula or blueprint.
5
u/Wiegelman Mar 23 '26
Practice - find a dataset, load it up, apply the skills you learned. I agree that you should know both SQL and Python.
3
u/Latiyan Mar 23 '26
Do SQL 50 Playlist on leetcode first. You will cover mosy of the concepts, then move on to other resources.
2
u/Rhianael Mar 23 '26
I've done several "technical interviews" for sql. The first one, they gave me half an hour and a bunch of "write code for this problem assuming this table name" questions. They were all pretty simple, the hardest one was a window function, and then we went through the answers together. Mostly things I use in a day-to-day role as a sql dev. Got the job.
The 2nd one was very similar content-wise, but I answered more fully, as I had more experience by that point. I wrote my code as "here's how you'd do it in ssms, this is the BigQuery syntax, and here are some possible issues you could come into eg. handling null values". They were very impressed by this. Had like half an hour and I finished quickly so fleshed out my answers with the extra time. Got offered the job.
The 3rd one was... Weird. They had me come into their office 4 hours away from home and gave me a word doc with some questions and then a ssms instance with a bunch of CTEs in to use as the data. There were some theory questions and then the coding questions. Some of the coding questions were things like "write code to make a table with 1 column and 100 rows and the numbers 1-100 in each row". They read my answers but we didn't really discuss them and I didn't get offered the job.
2
u/OMG_wheres_my_cake Mar 31 '26
I am in the same boat. For me, if they ask me to write the SQL code I think I can somehow manage but I had this interview a few weeks ago, where they showed a long code with CTE, joins with 3 or more tables, etc and asked me what I would change in this code to find out about new and existing customers. I find it very hard to answer such questions, can someone give me any tips ???? T_T
2
u/sqlcasebuilder Apr 03 '26
Yeah I felt exactly the same to be honest.
It’s weird because you can do all the joins/window functions stuff, but then the actual interview questions feel way more open-ended.
I found it confusing how inconsistent everything is - like one person says grind LeetCode, another says focus on business cases.
Still trying to figure out what actually works tbh.
4
u/[deleted] Mar 23 '26
[removed] — view removed comment
1
u/[deleted] Mar 23 '26
[removed] — view removed comment