pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James Adams <pornstarbatman@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: Selecting * from the base table but getting the inheriteds columns
Date: Tue, 29 Oct 2002 23:37:46 +0100
Message-ID: <OE50hCLwHc9ny7BXx4X00000bd3@hotmail.com> (raw)

Hello,

I have a "baseTable".  I have a number of decendantTables that INHERIT from the base table.  

I want to do somthing like

=>select * from baseTable;

But I want it to return the data in the all the descendant tables along with the extra column that they contain.  How do I do this?

please help

many thanks for your time

James

view thread (4+ messages)  latest in thread

Message-ID: <OE50hCLwHc9ny7BXx4X00000bd3@hotmail.com>
Permalink:  ../OE50hCLwHc9ny7BXx4X00000bd3@hotmail.com/
Also on:    postgresql.org/message-id/OE50hCLwHc9ny7BXx4X00000bd3@hotmail.com

 · 

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: pornstarbatman@hotmail.com
  Subject: Re: Selecting * from the base table but getting the inheriteds columns
  In-Reply-To: <OE50hCLwHc9ny7BXx4X00000bd3@hotmail.com>

* 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