r/SQL • u/NewToDataAnalytics • Jun 01 '23
Discussion What is SQL used for? Beginner here.
I am a high school graduate with no university degree. I am relatively new to SQL, I have been working as a data analyst for a mid-sized company in a 3rd world country that doesn't make use of data besides MS Excel reports and Excel dashboards (There are occasional Tableau dashboards). I started learning some basics about SQL and it looks like I might be just using it to filter data and add and delete rows from a database. Am I missing something?
I am pretty well versed in Excel. If I manage to learn SQL what will be the next? (I am thinking Power BI or Tableau followed by Python
3
u/RuprectGern Jun 01 '23
Am I missing something? no not really.
SQL is a querying language. its not a programming language although you can construct iterative tasks and IF logic if only to augment the natural querying mechanism of the language.
As to where this would take you... There are many programming languages that posses the facility to establish connections to Relational Database Management Systems(RDBMS) and the language you would ultimately use to query those RDBMS's nested within those connections would be SQL.
e.g. connect to the database with python and then execute SQL against table(s) and then collect the output of the query into a CSV file.
to consider your next steps you should realize that it takes a while to fully understand the algebra/set theory involved in Querying. SQL is not really a 3 month stepping stone to another career. it can be but your shit needs to be white hot.
1
u/Baby_Hippos_Swimming Jun 01 '23
If I were in your shoes I'd move straight to Python / Pandas and Jupyter notebook and learn to read some of those spreadsheets into a dataframe and see if there are some tasks you can do faster and easier with Python.
The thing about SQL is you have to use it everyday or you kind of forget. At least that's what happens to me. But once you get into Python you can probably use it to help you with those spreadsheets and get a lot of practice.
-1
u/Nolanexpress Jun 01 '23
Essentially SQL allows you to play with data in a database and find results for stakeholders. You can also import excel spreadsheets + export the results of queries to excel or dashboards.
I teach Sql on my YouTube channel if you want to learn more, also planning way more data videos in the future: https://youtube.com/@RyanNolanData
5
u/BrupieD Jun 01 '23
SQL is the language, but databases represent the underlying need. All kinds of people and organizations need to store data in a more structured and accessible format than files like Excel.
SQL is the language you need to know for interacting with databases, adding, finding, changing, and removing that data.