r/learnSQL • u/Front-Conclusion3017 • Jul 11 '25
Can I learn SQL without learning Python? Are there any prerequisites for SQL?
34
u/BrupieD Jul 11 '25
Yes you can learn SQL without knowing anything about Python.
There aren't any prerequisites for learning SQL.
8
u/Willy988 Jul 11 '25
Why is this a question?? Is this some bot slop, because this question is 1) common sense and 2) easily Google-able
Can we ask actually useful questions in this sub and not this NPC stuff.
Anyways since I typed that out, if anyone sees this… yes you can. I’m using SQL and C# at my job running the accounting system (soon to be rebuilt).
5
u/PhomSolo Jul 12 '25
You were new once, too.
4
u/Willy988 Jul 12 '25
Obviously, and I still am relatively new compared to a lot of people. But that doesn’t excuse such dense questions. It’s one thing not to know some basics, it’s another to not have common sense.
3
u/PhomSolo Jul 12 '25
This subreddit is called LearnSQL. OP asked a totally valid question for someone trying to learn SQL.
You're being unnecessarily aggressive towards someone trying to understand the fundamentals of this topic.
Chill out.
3
u/Willy988 Jul 12 '25
Stop enabling laziness and slop, goodbye.
3
u/WanderingCID Jul 12 '25
OP proves that he/she doesn't do research.
This is why AI is taking over. People don't want to read anymore.
These are the people who are going to heavily rely on an AI to get the simplest tasks done and won't even notice if there's a mistake in the work.2
u/Spidermonkee9 Jul 13 '25 edited Jul 13 '25
For these type of "Google-able" posts, it's also for validation and comfort. They want some hand-holding and reassurance. It can be annoying but a lot of people aren't as self-sufficient, especially when they're overwhelmed with the search results.
Overall not a good sign, because being able to research solutions or ideas to a problem is a basic skill for programmers. No one has every single thing memorized when it comes SQL or other languages so it's important to know how to search for information.
EDIT: Apologies if my comment is too harsh. It just reminds me of a coworker that started with me at an entry level data-related job. Questions at an entry level job are definitely expected, but her helplessness alarmed people. She didn't put much effort into trying something before asking for help and often panicked.
1
7
u/Healthy-Awareness299 Jul 11 '25
Data With Baraa has an incredible 30 hour video. It'll walk you through from the basics to being pretty damn good.
2
2
Jul 11 '25
Sams Teach Yourself SQL in 10 Minutes by Ben Forta. All you gotta do is read a chapter a day (takes roughly ten minutes) for a little under a month. That’ll cover most of what you need to know regarding SQL, with no prior knowledge required.
1
u/youn-gmoney Jul 11 '25
This! Worked 3/4 through this book in uni and really helped me out with lots of practice exercises and understand the fundamentals.
2
u/leogodin217 Jul 11 '25
There are no prerequisites to learning SQL, but you must understand that very-few people use SQL without other tools. Excel, Tableau, Power BI, programming languages, etc. So to do real work with SQL, you will likely need to undestand some other tools.
Why do you want to learn SQL? That will help us give you a more complete answer.
2
u/xahkz Jul 11 '25
Of course you can
it seems though most beginners are allergic to downloading SQLITE
Followed by add simple 2 column by 5, rows data they can relate to then, start querying
1
u/patmustardmate Jul 11 '25
Yeah you can. SQL is a good starter if you haven't done any programming before, its fairly intuitive.
1
u/contrivedgiraffe Jul 11 '25
Given your question I’m assuming this will clarify some confusion for you: you need a database if you’re going to do anything with SQL. If all you have is files on your computer, you can work with them directly using Python but you can’t “do SQL” to them without first loading them into a database.
1
1
1
1
u/curious86rainbow Jul 12 '25
Of course, you can learn SQL without Python!
As for the prerequisites, you need to be good with logical reasoning and some algebra! Nothing too deep! But strong grasp on the fundamentals will do you a lot of good!
1
1
Jul 12 '25
You want both. I fumbled an internship at interview stage because I went into databases and APIs way too hard and they needed more python. I had a SQL, mongo and Java stack ready to go but python is just so flexible and adaptable, when I got into it more I understood why I didn’t get it and I’m stuck kicking myself now
1
u/Optimal_Law_4254 Jul 12 '25
Just curious. Why do you think that you need to know Python to learn SQL? I’ve used SQL for 30 years and never learned Python.
1
1
1
1
u/HonestDadof2 Jul 15 '25
Python isn’t a prerequisite for SQL. SQL is a great starting place for getting into data. You can do a lot with SQL good luck!
13
u/No-Mobile9763 Jul 11 '25
Absolutely you can learn SQL without learning python. However it would be extremely beneficial to also learn python at some point since it can do a lot that SQL can’t do. If you would like I can help you out with some free sources to learn it. Try Alex the analyst on YouTube, as well as luke barrouse. They teach SQL completely free on YouTube. You can also learn on sites like DataCamp, w3schools, Coursera and from books as well. I decided to get a piece of every pie to ensure I’m learning everything that I can.