From: Christoph Haller <ch@rodos.fzk.de>
To: jtr@uni-bonn.de
Cc: pgsql-sql@postgresql.org
Subject: Re: Aggregates not allowed in WHERE clause?
Date: Wed, 19 Jun 2002 10:18:38 METDST
Message-ID: <200206190818.KAA10200@rodos> (raw)
In-Reply-To: <874rfzr8xj.fsf@waffel.germanistik.uni-bonn.de>
Joachim,
Try
SELECT kvvnr, semester FROM lv
WHERE semester = (SELECT MAX(semester) FROM lf_sem) ;
Are you sure the MAX function will work on your
text resp. char/varchar attribute 'semester'?
Regards, Christoph
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: ch@rodos.fzk.de, jtr@uni-bonn.de
Subject: Re: Aggregates not allowed in WHERE clause?
In-Reply-To: <200206190818.KAA10200@rodos>
* 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