Lurker News
I too often find myself getting stuck when it comes to more advanced SQL queries. I have never actively learnt SQL and realise that I don't have a great mental model of how it works. I would like to improve this as it is killing my productivity from time to time.

Comments (97) 45 threads

nindalf2 replies#
I second this. I prefer reading on pdf, so I bought the ebook[1]. The book explains indexing perfectly, and it shouldn't take you more than a day to finish. I can't recall a book having a better benefit/time ratio. I wish the author would release more books in this vein, but he hasn't. So right now I'm looking at Designing Data-Intensive Applications to learn more about different kinds of databases [2].

[1] http://sql-performance-explained.com/
[2] http://dataintensive.net/

mhotchen1 reply#
He's started work on his next book[0] which looks to be interesting.

[0] http://modern-sql.com/

tehalex#
There's a lot of good content here online for free as well.
copperx3 replies#
Sightly tangential ... which device do you read PDFs on?
Fnoord2 replies#
Kobo Aura One. Bit more expensive yet high quality.

Preview on macOS is also good.
EDIT: I don't know, when that review was written the device was just released. The device received various firmware updates since then. I convert everything to EPUB with Calibre.

Continue this thread — 2 replies

nindalf#
I used to have a high res inexpensive tablet that I loved to bits, but I dropped it carelessly and I'm finding it impossible to replace the screen. Right now I use Preview on macOS. Since I'm on my laptop anyway, I make notes in a text editor. That helps me remember what I read.
justinclift#
Original iPad (series 1).

I had a Samsung Galaxy Note 12.2 for a while, but the built in reader (iBooks) in the iPad is far superior to everything I tried on Android over a period of months.

roryrjb1 reply#
Can recommend also. Very good and clear explanations.
tomcam#
Not the parent poster, but I consume a huge amount of writing in PDF form.

* Most modern browsers have it built in
* Preview on MacOS is good
* Kindle and iBooks import PDF files
* SumatraPDF and Skim, depending on your OS

pthreads#
Thanks for the link. This is a very nice resource. Just started reading but I am already finding it very useful.
AlisdairO7 replies#
[self plug]

On https://pgexercises.com I focus quite a bit on developing a mental model for SQL. I would suggest not skipping the easier exercises - even if you can do the SQL, you might find the explanations useful.

pinouchon1 reply#
I second this. A few months ago, I went through all the exercices (completing everything but 3 of the most advanced).

Very easy to get going and very hands-on.

AlisdairO#
Thanks, appreciate it :-)
shiny1 reply#
Man, thank you so much for creating this. You should find some way to monetize it. I thought I had a decent grasp of SQL before, but this is what really helped me grok it ... especially the consistent 'everything is table' lesson.

Oh and I had an idea for practicing deletions/insertions/updates & other behavior that you couldn't do on web: create an Electron app that uses a local db. I'd buy that in a heartbeat.

AlisdairO1 reply#
No problem - it's really gratifying to know that it helped you. I'm not so interested in monetizing - I've received an awful lot from the wider OSS community, and I did the project as a way to give something back.

That is a really good idea on the app. I do have some ideas for making DDL and DML available via the web interface, but sadly I'm extremely short on free time in the last couple of years.

afarrell1 reply#
> extremely short on free time in the last couple of years

I wish you and the flexboxfroggy guy has a patreon account so I could pay y'all to make games/exercises that improved my mental model of things.

Continue this thread — 1 reply

gidan1 reply#
(Top menu broken on IOS iPad)
AlisdairO#
Thanks - I'll try to get hold of an ios device to test it on. Sadly my webdev skills are fairly lol-worthy ;-)
MistahKoala1 reply#
I've been looking for stuff like this - thanks.

I'm trying to start a career as a BA and expect that it will be handy to know SQL, which is fine, but I haven't been able to find anything out there that simulate the kind of scenarios and tasks SQL would be used in. I suppose your site is a step closer to that.

minhaz231 reply#
Hows the step into BA going for ya? What kind of things besides SQL do you have to learn?
MistahKoala#
Not great! Plenty of vacancies for BAs and junior BAs alike, but they all stipulate experience. I've been looking for graduate BA vacancies, but - outside of London - they're few and far between. A few BA roles are also quite heavy on the numerate side of things, which I have to cast aside.

Aside from SQL, I've got UML and Visio on my to-do list. There's also the BABOK reference, but it sounds like it's something that only really starts to make sense when you have something to apply it to and observe.

rorykoehler1 reply#
This looks great. Exactly what I'm looking for. Thanks.
AlisdairO#
No worries - hope you find it useful.
AlisdairO#
Thanks :-)
AlexAMEEE#
You could also add some ads, I'd gladly deactivate my adblocker, a site that produces so much value should get something in return.

Great site, thanks

pg314#
Maybe this is obvious, but the PostgreSQL manual [1] is excellent. The first 100 or so pages (at least up to and including chapter 7) will give you a good overview. I suggest you read through them at least once. Then you can dig into the rest of that manual at leisure, exploring topics that interest you. It's a great reference too.

[1] https://www.postgresql.org/docs/manuals/

Load more comments