pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ross J. Reedstrom <reedstrm@rice.edu>
To: pgsql-sql@postgresql.org
Subject: Re: What is a "tuple"
Date: Fri, 22 Jun 2001 12:28:02 -0500
Message-ID: <20010622122802.C14381@rice.edu> (raw)
In-Reply-To: <Pine.LNX.4.30.0106221830090.24241-100000@frigg.belbone.net>
References: <Pine.LNX.4.30.0106221830090.24241-100000@frigg.belbone.net>

On Fri, Jun 22, 2001 at 06:31:03PM +0200, Kristoff Bonne wrote:
> Greetings, (and also Alex)
> 
> On Fri, 22 Jun 2001, Josh Berkus wrote:
> > > Excuse my lack my 'database'-jargon, but what is a 'tuple'?
> 
> > Also known as a "Record", or a "Row".  The word "tuple" is used because
> > it can refer to a row returned as part of a result set as well as a
> > record in a table.  Strictly speaking, a row returned from most queries
> > is not a record, as that row does not exist in permanent storage
> > anywhere .... it is created by the query.  Hence, "tuple".

It's probably a back formation from the suffix 'tuple' as in the sequence:

single, double, triple, quadruple, quintuple, sextuple, septuple, ...

So, mathematicians generalized this (as is their wont) to 

[algebraic expression]-tuple, such as:

        n-tuple, (n^2)-tuple

Which found their way to The Relational Algebra, simplified to just
'tuple' and hence, to SQL.

Ross (way to much detail!) Reedstrom



view thread (5+ messages)  latest in thread

Message-ID: <20010622122802.C14381@rice.edu>
Permalink:  ../20010622122802.C14381@rice.edu/
Also on:    postgresql.org/message-id/20010622122802.C14381@rice.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: reedstrm@rice.edu
  Subject: Re: What is a "tuple"
  In-Reply-To: <20010622122802.C14381@rice.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox