pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: MHahn@seeandswim.com
To: pgsql-sql@postgresql.org
Subject: All columns from table in a joined query
Date: Wed, 23 Aug 2006 15:14:48 -0400
Message-ID: <14106936.1156360501724.JavaMail.teamon@b217.teamon.com> (raw)

I've been trying to figure out how to do the following:

Select schedule.* from schedule join meetingday on schedule.id = meetingday.scheduleid where sessionnumber = 165 group by schedule.* order by min(meetingday.date);

Is this possible in any way, or do I need to list each field of the schedule table to get all of them?



view thread (3+ messages)  latest in thread

Message-ID: <14106936.1156360501724.JavaMail.teamon@b217.teamon.com>
Permalink:  ../14106936.1156360501724.JavaMail.teamon@b217.teamon.com/
Also on:    postgresql.org/message-id/14106936.1156360501724.JavaMail.teamon@b217.teamon.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: MHahn@seeandswim.com
  Subject: Re: All columns from table in a joined query
  In-Reply-To: <14106936.1156360501724.JavaMail.teamon@b217.teamon.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