I've never touched SQL but some friends said that its a language you can basically learn in an afternoon, so I put it on my CV and applied to some jobs that say they want SQL lol. But now I've actually gotten an interview and I'd like to not get caught out as bullshitting - is it as easy as my friends say and do any of yall have some good resources about learning/using it? In the past I've had pdfs that take you from nothing to profiecency in a language and I'd love something similar, but now that I've graduated I don't have access to stuff like that anymore. I have a shittonne of experience in python if that helps (although at a glance nothing i'm seeing online looks much like python, but i'm told that you can implement it through python or something?)
Most stuff I can find quickly either try to make you pay for it or they're videos instead of text and that doesn't really play well with the adhd. Do you guys have anything? Thanks for the help scamming a corporation comrades
The PostgreSQL project has a tutorial in their documentation.
Section 1 is about setting up Postgres, and section 2 is the hands-on tutorial for SQL.
although at a glance nothing i'm seeing online looks much like python, but i'm told that you can implement it through python or something?
Databases allow programs to connect to them and send SQL statements to the database. There are Python libraries that help manage this connection within a python program. After you get your feet wet with the above tutorial, you can start writing python programs that populate and retrieve information via SQL.
Another comrade has recommended postgresql too and it looks very self-explanatory, so I'll definitely be going through that tonight. Those last links seem pretty helpful too, so i'll try those next, thanks. I don't know why it didn't occur to me to see if i could find straight up documentation - docs are always written in a clear way that works for me.
Would you say this is a solid source? I don't use SQL that often but each time I do I end up having to relearn it all over again. It would be nice to just have a single source saved.
I would save the course source like this and reference the video topic that I need. Or just read the docs or my old project code.
For acquiring sources if no sales going on or funds: https://fmhy.net/edupiracyguide#torrenting 🏴☠️
https://www.postgresqltutorial.com/
This should get you up to speed with syntax at a high level and is the guide I've had multiple friends use to get up to speed fairly quickly.
Oh wow, I love how clearly thats laid out, plus the little code examples. This is the exact sort of thing I was looking for, thank you
now I’ve graduated I don’t have access to stuff like that anymore.
What?! Can I get an example?
Also, Anna's Archive probably has what you're looking for.
In my first year we were given a pdf that covered python from "hello world" to literally anything and everything a scientist ever would need for fancy data analysis/visualisation and modelling and such, plus a bunch of real coding skills like classes etc. I wasn't really interested at the time, but i heard that the comp sci students got similar things for the languages they were covering (now I wish I had have asked for copies!). They were made by the university so unfortunately they're not available publicly, hence why I'm at a loss of where to find info now.
But that site looks like exactly what I need! Everything i was finding on google was high SEO trash, but the books on there looks absolutely perfect, thank you <3
https://learnsql.com/
It's paid but not prohibatively expensive. The way it's strucrured is it explains a command to you, gives you an example, and then asks you to do a slightly modified example. It ends chapters with some exercises. Honestly a great resource for learning sql. Literally the only one that worked for me tbh.
although at a glance nothing i'm seeing online looks much like python, but i'm told that you can implement it through python or something?
There are libraries that use sql-like queries withib python, you can also run sql queries and feed them into python structures through python. The way I do it is I write up a sql query, test it, add some special characters for myself so I can modify it within python, then store it in a text file to use in python. But sql itself isn't really pythonic. It's very straight forward though, if ylu can code in any language and can solve SAT level logic problems, you can probably write sql reasonably well.
I'm real broke rn, hence the desperate job search lol, so its a bit pricey for me right now, but it does seem like they do pretty nice courses from what I can see. Maybe once I've actually got a job confirmed I'll swing by there to get up to standard before I go in.
The way I do it is I write up a sql query, test it, add some special characters for myself so I can modify it within python, then store it in a text file to use in python.
Okay, that makes more sense than how my mates were explaining it. So I'll focus on learning the actual sql itself then before i combine it with my python. Thanks comrade
I always find W3schools SQL useful. They also give you an example database to try the statements immediately. And it's free.
I went through an entire computer science degree without ever taking a database course (it was an elective). My first job used SQL heavily and it was not hard to pick up, if you already have a programming mindset.
The language itself is not hard to learn, but to really use it well you need some understanding of data aggregation and set theory.
If you have a computer science background it might all be pretty easy. I didn't and it took me about a year to really git gut in SQL.
I might have some resources available from my uni. Send me a reminder if I forget to update this
Knowing SQL and knowing SQL are different. You can know SQL in an afternoon for sure though.