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.
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.
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 🏴☠️
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.