r/learnSQL • • 14h ago

What to do next??

I have completed SQLbolt and I want to keep learning SQL for data analysis. I want to move on to the intermediate and advanced level in it.

Alsooo , I need to practice it too and I need project ideas which I can build and actually add in my portfolio.

Any help is appreciated.

7 Upvotes

21 comments sorted by

4

u/Fine_Top_3670 11h ago edited 11h ago

Give SQL Bun a try. Not only does it have 50+ lessons where you can interactively learn via animations and see how each clause gets run, It also has 80+ SQL interview questions, 3 guided real-world projects, and a timed mock interview to assess your skills. It's a great way to improve your SQL proficiency, gain hands-on experience, build your portfolio, and prepare for data analyst interviews.

1

u/rushaydotexe 10h ago

Is it free/is it's free tier generous??

1

u/Fine_Top_3670 10h ago

It's completely free, and no sign up required :)

1

u/rushaydotexe 10h ago

oh wow , I'll check it out.

1

u/bananatoastie 10h ago

Go on Kaggle and work with some real data - make a dashboard or data pipeline portfolio to get a job :)

1

u/rushaydotexe 10h ago

Thanks man , I'll look into it.

1

u/devious_elephant 10h ago

The thing that helped me the most was problem solving. I recently uploaded some youtube videos solving questions from hackerrank and datalemur here --> https://www.youtube.com/@data_and_stuff
you can follow along or just do the problems yourself and check the solution if you get stuck. Hope it helps.

1

u/rushaydotexe 10h ago

So can I get good amt of questions on hackerrank and datalemur?? I'm not really into yt tutorials as I just lose my attention 😭

2

u/devious_elephant 10h ago

Definitely yes. They cover pretty much every concept you'll ever need. Personally, I found HackerRank to be too easy or too irrelevant. DataLemur is mostly good. and Leetcode as well. Just solve as many as you can

1

u/rushaydotexe 9h ago

Thanks man

1

u/Discordbothost 6h ago

Add correctness checks to whichever portfolio project you pick. Work out the expected results on a tiny dataset by hand, then compare your queries against them. Check row counts after joins so you can catch inflated totals. Include those checks in the repo; they show how you know the analysis is right.

1

u/rushaydotexe 2h ago

Okay man , thanks for the help!

1

u/Top_Tooth_6995 5h ago

I would try SQLMaxx Learn, a free sql course. It has 66 lessons (that, as you’re looking for, take you from beginner, to intermediate, to advanced analyst level SQL). It comes with over 600 practice problems.

It’s free, and has a free certificate as well

1

u/rushaydotexe 2h ago

Oh wow , I'll check it out fs.

1

u/nicopassaglia 12h ago

SQLBolt gets you through SELECT, joins and basic aggregates, so the gap to "intermediate" for analysis work is mostly four things, roughly in this order:

  1. Window functions: ROW_NUMBER, RANK, LAG/LEAD, running totals with SUM() OVER. This is the biggest single step.
  2. CTEs (WITH), so a long query becomes a few readable steps.
  3. CASE WHEN inside aggregates (conditional counts, pivoting) and NULL handling (COALESCE, why NOT IN breaks when there's a NULL).
  4. Dates: grouping by month, time between two events. This part differs by database, so pick one (PostgreSQL is a safe choice) and learn its date functions.

For the portfolio, projects that answer a business question read better than ones that show syntax. Some that use everything above:

- Monthly revenue with month-over-month growth and a running total

- Cohort retention: of the customers who first ordered in January, how many ordered again in February, March...

- Top 3 products per category, and each category's share of total revenue

- Customers who haven't ordered in 90 days

- A funnel with the conversion rate at each step

Take one dataset with customers, orders and products, write 8 to 10 questions like those, and put the queries on GitHub with a short README saying what each one found and why you wrote it that way.

Disclosure: I build a SQL practice site, so take this part with that in mind. It has a small shop database you can download as a SQL script, SQLite file or CSVs (https://getsheetdrill.com/sql/sample-database), and free pages with exercises on window functions, running totals and top-N-per-group (https://getsheetdrill.com/sql/reference). Those and the first lessons are free; a few advanced lessons are paid.

2

u/rushaydotexe 10h ago

I was not expecting that. Thanks man for putting everything so clearly and detailed.

2

u/Fine_Top_3670 11h ago

Hey, this is a very detailed answer and covers almost everything required. Thanks for properly putting it

1

u/no_0ne_ 7h ago

yup this is pretty good, i found it very difficult to complete sql 50. you'll be able to learn date functions on the go. warm up a bit on the concepts covered in SQL bolt (where, group by, having, Joins) then learn Case when & self joins then subquery & CTEs Then window functions. The order is flexible but you need to understand when to use what!
also what i created a chat in Claude when i was having doubts and asked it to summarize my errors and learnings. And finally there is somethings called as patterns. There are limited no.of patterns with which you can solve majority of the problems

1

u/conor-robertson 12h ago

You should check out QueryCase, its a gamified platform where you solve detective cases using SQL, all in ur browser

1

u/rushaydotexe 10h ago

Okay I'll look into it.