TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Postgres Primer for Programmers Recommendations?

3 pointsby travisgriggs8 months ago
I&#x27;ve avoided DB&#x27;s for the most part for years. I get the basic SQL statement, but nothing advanced. I&#x27;m playing with some modeling using TimescaleDB and I think it&#x27;s clear I&#x27;m going to need to understand this stuff a lot better.<p>I&#x27;m curious what literature other programmers would suggest for really getting your head around SQL. I&#x27;m less interested in the &quot;learn by example&quot; approach where you see a SELECT followed by a FILTER followed by an ORDER example. I want to understand better what&#x27;s really going on under the hood. I&#x27;m trying to put together some MATERIALIZED VIEWS for run detection and GPT just really isn&#x27;t working well for me on this kind of effort.

2 comments

pjacotg8 months ago
There&#x27;s a series of database moocs from Stanford that look good [0]. I&#x27;d start off by learning about the relational model as a foundation and after that exploring non relational DB&#x27;s like TimescaleDB.<p>[0] <a href="https:&#x2F;&#x2F;online.stanford.edu&#x2F;courses&#x2F;soe-ydatabases0005-databases-relational-databases-and-sql" rel="nofollow">https:&#x2F;&#x2F;online.stanford.edu&#x2F;courses&#x2F;soe-ydatabases0005-datab...</a>
l5870uoo9y8 months ago
You can use an SQL explainer[0] to get summary, visualized results and detailed breakdown.<p>[0]: <a href="https:&#x2F;&#x2F;www.sqlai.ai&#x2F;app&#x2F;explain-sql" rel="nofollow">https:&#x2F;&#x2F;www.sqlai.ai&#x2F;app&#x2F;explain-sql</a>