what does t(x) in select x from generate_series(1, 10) as t(x) stand for?

From: john snow <ofbizfanster(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: what does t(x) in select x from generate_series(1, 10) as t(x) stand for?
Date: 2017-11-09 02:20:21
Message-ID: CAE67tvV_G-Fdu=TP8r8NOvGPu6bVAL3h_DcMj2PAW_C4C3dhHw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

is
select x from generate_series(1, 10) as t(x);
different from
select x from generate_series(1, 10) as x;

both statements seem to produce the same result in pgAdmin4 (i'm using
postresql version 10)

thanks for helping!

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message David G. Johnston 2017-11-09 02:55:16 Re: what does t(x) in select x from generate_series(1, 10) as t(x) stand for?
Previous Message Vianello, Daniel A 2017-11-07 19:57:04 Re: Using set role inside a function question