Skip to content

行

一句话解释

行 (也 called 记录 or tuple) 是单个数据条目 in 表 — one 值 for 每个列.

用大白话说

行是 one 记录 in 表. 如果表 有列 id, name, and email, 然后行 是 one 完整设置的 值 for 那些列 — 例如, (1, 'Ada', '[email protected]').

Each row represents one entity in the real world: one user, one product, one order. The collection of all rows in a table is the dataset.

Rows are also called records or tuples. In SQL, you add rows with INSERT, modify them with UPDATE, and remove them with DELETE.

示例

sql
-- One row in the users table
INSERT INTO users (id, name, email)
VALUES (1, 'Ada Lovelace', '[email protected]');

这个 inserts 单个行 — one 记录使用值 for id, name, and email.

相关术语

相关资源

相关课程

解读错误信息

用大白话解释常见错误——什么意思、为什么发生、如何修复。

查看错误

← 返回术语表