r/learnSQL • u/Sea_Butterfly713 • Jun 04 '26
how to learn and practice SQL for data analyst roles
same as above
69
Upvotes
r/learnSQL • u/Sea_Butterfly713 • Jun 04 '26
same as above
2
u/TechAcademyCoding Jun 08 '26
If your goal is to become a data analyst, I'd focus on learning SQL through a combination of tutorials and hands-on practice. Start with the fundamentals like SELECT, WHERE, GROUP BY, ORDER BY, and JOINs, then move on to subqueries, CTEs, and window functions since those come up frequently in analyst work. For practice, sites like SQLBolt, DataLemur, HackerRank SQL, and Mode SQL Tutorial are great places to build skills. Once you're comfortable with the basics, try working with real datasets on Kaggle and answering your own business-style questions using SQL.
Of course, the biggest improvement usually comes when you move beyond exercises and start analyzing real data, since that's what you'll be doing in a data analyst role.
2
u/DataCamp Jun 10 '26
For analyst roles specifically, you don't need all of SQL you need the querying side, deep. Rough order that works:
For practice: tutorials alone won't get you there, you need to write queries against real-ish data and questions. Set up Postgres or even just SQLite locally, load a dataset you actually find interesting, and make yourself answer business-style questions: "which month had the highest revenue per customer," "what % of users came back within 30 days." That's much closer to the actual job than abstract puzzle problems. Interview-prep sites with SQL questions are good as a supplement once your fundamentals are solid.
Realistic timeline with consistent practice: a month or two to get comfortable, a few more to get interview-ready. It's genuinely one of the fastest-to-learn high-ROI skills in data.
9
u/neo_overthinks Jun 04 '26
Youtube : DATA with BARA
8
u/Monkey_Socrates Jun 04 '26
Use duckdb and turn any kaggle dataset into a database for practicing SQL. Duckdb UI mode is user friendly
2
u/ivan_x3000 Jun 04 '26
I wanna make a mock data base of my local tennis centre/park but it's stressing out imagining how I would make fake customers and fake transactions.
I can easily come around and look at thier inventory.
Also the suppliers. I don't really want to bother the employees about that.
2
u/[deleted] Jun 11 '26
[removed] — view removed comment
2
u/[deleted] Jun 15 '26 edited Jun 15 '26
[removed] — view removed comment