Logo
Section 1 / 5

数据模型概览

了解不同的数据模型如何定义数据的结构和关系。

检查点

数据模型概览

了解不同的数据模型如何定义数据的结构和关系。

...
A visual representation of a hierarchical model
...
A visual depiction of the network model
...
The Products table’s FOREIGN KEY (CategoryID) points to the Categories table’s PRIMARY KEY (CategoryID).

代码示例

1{ 2 "OrderID": 1, 3 "OrderDate": "2025-03-01", 4 "TotalAmount": 1200.00, 5 "Customer": { 6 "CustomerID": 1, 7 "CustomerName": "John Doe", 8 "Email": "johndoe@example.com" 9 }, 10 "Items": [ 11 { 12 "ProductID": 1, 13 "ProductName": "Laptop", 14 "Quantity": 1, 15 "Price": 1200.00 16 } 17 ] 18}
...
When to use what models

Quiz

单选题

哪种数据模型将数据组织成树状结构,其中每个记录恰好有一个父级?

1 / 5

数据库入门

Schema 和 Instance