r/SQL • u/Sirmagger • Jul 09 '26
PostgreSQL Data Analyst take home SQL interview
https://docs.google.com/spreadsheets/d/1196AT4YR2ZE0WScMl7q3TDjc0FwVMoSc/edit?pli=1&gid=1425671700#gid=1425671700This was one of the take home SQL interview i did earlier this year. I have shared for anyone who is preparing for an interview can attempt to do it. Cheers!!
63
Upvotes
36
u/PickledDildosSourSex Jul 09 '26
They let you do a take home SQL interview? In this day and age of AI? Wild.
15
u/mikeblas Jul 09 '26
The SQL is super easy. The interesting part is here:
Being a data analyst isn't about slinging SQL. It's certainly neccessary, but it's table stakes. Analysing data is what the job is about. It's right in the name! Examine, digest, summarize. Figure out what story the data is telling, and know how to tell that story effectively to non-technical business people. That adds value.
12
u/Kobosil Jul 09 '26
using the American date format in a database should be a crime
1
u/Proof_Escape_2333 Jul 10 '26
i'm new to these stuff probably a dumb question so do I upload a CSV of this file to mysql to do the analysis ?
1
u/NichHa Jul 11 '26
Did they give you an estimate of how long they think it should have taken to complete the exercise? I am just a simple GIS analyst, but it has taken me a few hours.
3
u/ArielCoding Jul 11 '26
Thanks for posting it, good reminder that writing the SQL in half of the job, spotting the messy bits (date formatting, missing values, gaps in certain records) and explaining how you handle them is the other valuable part. Attempt it, but write down why you made each choice that’s what they’re grading.
2
u/OriginalCrawnick Jul 09 '26
Surprisingly easy test but I've been at SQL for 4-5 years now. Thanks for putting A real world example out there!
0
u/datadriven_io Jul 09 '26 edited Jul 09 '26
Yo check out datadriven for data modeling interview questions when prepping. It has stuff closer to real take homes than most sites.
0
u/FrostingEfficient408 Jul 10 '26
Thanks for sharing!