r/learnSQL • • 5h 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.

5 Upvotes

16 comments sorted by

3

u/Fine_Top_3670 2h ago edited 2h 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 1h ago

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

1

u/Fine_Top_3670 1h ago

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

1

u/rushaydotexe 1h ago

oh wow , I'll check it out.

1

u/bananatoastie 1h ago

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

1

u/rushaydotexe 1h ago

Thanks man , I'll look into it.

1

u/devious_elephant 1h 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 1h 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 1h 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 45m ago

Thanks man

1

u/nicopassaglia 3h 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 1h ago

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

2

u/Fine_Top_3670 2h ago

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

1

u/conor-robertson 3h ago

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

1

u/rushaydotexe 1h ago

Okay I'll look into it.