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: Best Databases book?

5 pointsby _dt47about 11 years ago
I'm preparing a website, and i need to create a database to hold data for when users "register" on the site. What's the best book (or video maybe?) to learn databases from scratch?

7 comments

tjrabout 11 years ago
Assuming a standard relational database, you might find interest in the relevant portions of:<p><a href="http://philip.greenspun.com/sql/" rel="nofollow">http:&#x2F;&#x2F;philip.greenspun.com&#x2F;sql&#x2F;</a><p>and<p><a href="http://philip.greenspun.com/seia/" rel="nofollow">http:&#x2F;&#x2F;philip.greenspun.com&#x2F;seia&#x2F;</a>
ScottWhighamabout 11 years ago
I think there&#x27;s a difference between &quot;someone who wants to learn databases&quot; and &quot;someone who has a specific project to implement in a specific time frame&quot;. If you are in the former, then stay at the high level - learn what SQL is, what RDBMS&#x27; are, and then learn a little about logical database design. If, though, you want to build a product, you need to (a) pick the product, and (b) start with books&#x2F;videos on that subject matter. You can pick up the basics along the way.
brudgersabout 11 years ago
Why do you think you need a database to hold user registration information?<p>Why won&#x27;t CSV, XML, JSON or text files formatted some other way work?<p>Keep in mind that &quot;learning databases&quot; is not like &quot;learning wordprocessors&quot; or &quot;learning spreadsheets&quot;, but if your serious this self paced course from Coursera might be a place to start.<p><a href="https://www.coursera.org/course/db" rel="nofollow">https:&#x2F;&#x2F;www.coursera.org&#x2F;course&#x2F;db</a>
评论 #7342165 未加载
taf2about 11 years ago
Hacking in WordPress code base is a great way to learn MySQL IMO... it does a very nice job of neatly organizing content using and tags being polymorphic to represent categories and tags. Really helps to have code samples... otherwise, reference manuals are great for answering questions about how some specific syntax works...
akg_67about 11 years ago
Are you trying to write user registration from scratch? There are already these components available with most frameworks in Python, PHP. You don&#x27;t need to reinvent. These framework come with appropriate DB tables, primarily in MySQL or PostgreSQL.<p>Most books on database driven website will give you enough to get started.
mfruhlingabout 11 years ago
I really like Joe Celko. &quot;Thinking in Sets&quot; opened my mind up quite a bit.<p><a href="http://www.amazon.com/Joe-Celkos-Thinking-Sets-Management/dp/0123741378" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Joe-Celkos-Thinking-Sets-Management&#x2F;dp...</a>
RollAHardSixabout 11 years ago
<a href="http://www.amazon.com/Beginning-SQL-Paul-Wilton/dp/0764577328" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Beginning-SQL-Paul-Wilton&#x2F;dp&#x2F;076457732...</a><p>My favorite SQL book period.