哪些资源可以帮助我了解关系数据库设计的基础知识

发布于 2024-08-24 04:48:43 字数 244 浏览 3 评论 0原文

这是一些一直给我带来麻烦的基本数据库问题。我尝试过使用谷歌和维基,但不知何故我错过了理解功能而不是术语。

如果可能的话,如果有人可以使用一些视觉代表性示例分享对这个问题的更多见解,我将不胜感激。

  • 什么是密钥?候选键?一个 主键?备用钥匙?一个 外键?

  • 什么是索引以及它有什么帮助 您的数据库?

  • 可用的数据类型有哪些? 何时使用哪些?

This are few of the fundamental database questions which has always given me trouble. I have tried using google and wiki but I somehow I miss out on understanding the functionality rather than terminology.

If possible would really appreciate if someone can share more insights on this questions using some visual representative examples.

  • What is a key? A candidate key? A
    primary key? An alternate key? A
    foreign key?

  • What is an index and how does it help
    your database?

  • What are the data types available and
    when to use which ones?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

情释 2024-08-31 04:48:43

购买一本有关关系数据库的介绍性书籍,例如这些之一。

Buy an introductory book about relational databases, such as one of these.

甜尕妞 2024-08-31 04:48:43

我强烈推荐信息专业人员的数据建模。您询问的是基本理论和概念,这些在书中比在像 SO 这样的问答答案网站上得到更好的解释。

I highly recommend Data Modeling for Information Professionals. You are asking about basic fundamental theory and concepts which are much better explained in a book than on a Q&A answer site like SO.

动听の歌 2024-08-31 04:48:43

您可以简单地搜索 google 或 wiki...

什么是索引以及它如何帮助您数据库?

有哪些可用的数据类型以及何时使用哪些数据类型?

但是在每个数据库(同一数据库的每个版本)中,您可以拥有其他数据类型...如果您指定您感兴趣的数据库类型,那就更好

主键

在此站点中您还可以找到其他键;)

You could simple search google or wiki...

What is an index and how does it help your database?

What are the data types available and when to use which ones?

But in every database (every version of the same db) You can have other data types...its better if You specify which type of db You are interesting

A primary key

In this site You find other keys also ;)

无人问我粥可暖 2024-08-31 04:48:43

“主键”和“备用键”。按主键搜索可能会更加优化。

数据库之间的数据类型差异很大,但通常您会拥有:

  • 数字数据类型,例如 INTEGER 和 REAL。
  • 至少一种字符串类型,例如 VARCHAR。
  • 原始二进制数据 (BLOB)。
  • NULL,表示不存在值。

There's not really much difference between a "primary key" and an "alternate key". Searches by primary key might be more optimized.

Data types vary a lot between databases, but generally you'll have:

  • Numeric data types like INTEGER and REAL.
  • At least one string type like VARCHAR.
  • Raw binary data (BLOB).
  • NULL, to indicate the absence of a value.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文