What does the term “Tuple” Mean in Relational Databases?

前端 未结 10 1887
青春惊慌失措
青春惊慌失措 2021-01-29 21:31

Please explain what is meant by tuples in sql?Thanks..

10条回答
  •  广开言路
    2021-01-29 22:00

    As I understand it a table has a set K of keys and a typing function T with domain K. A row, or "tuple", of the table is a function r with domain K such that r(k) is an element of T(k) for each key k. So the terminology is misleading in that a "tuple" is really more like an associative array.

提交回复
热议问题