BCA / B.Tech 8 min read

Tuples and Their Types

What is a Tuple in DBMS?

In the context of a relational database, a Tuple is another name for a row or a record in a table. It represents a single, implicitly structured data item in a table. Each tuple consists of a set of attribute values, with one value for each column in the table.

Key Characteristics of a Tuple:
  • Represents a Single Record: A tuple is a single entry in a database table. For example, in a `Students` table, one tuple would represent one student.
  • Ordered Set of Values: The values in a tuple correspond to the columns of the table in a specific order.
  • Unique within a Relation (Table): In a properly designed database, each tuple is unique, typically identified by a primary key.

While the term "tuple" is also used in programming languages like Python to mean an immutable, ordered collection, in DBMS it specifically refers to a row in a table.