sql 复合键
In a real-time situation, there can be scenarios when one column is not good enough to uniquely identify a row. In such scenarios, we use a combination of columns to uniquely identify a row.
在实时情况下,可能会出现一列不足以唯一标识一行的情况。 在这种情况下,我们使用列的组合来唯一地标识一行。
SQL复合键 (SQL Composite Key)
SQL composite key is a combination of two or more columns in a table that is used to uniquely identify a row. The combination of the columns guarantees uniqueness.
SQL复合键是表中两个或更多列的组合,用于唯一标识一行。 列的组合保证了唯一性。