Hi,
I encountered a problem with a DISTINCT query (mySQL-3.23.42). I need to
order by a field not contained in the field set of the SELECT clause. The
following query works correctly:
SELECT DISTINCT
p.lastchanged AS lastchanged,
p.dam_id AS dam_id,
d.dam AS dam,
Hi.
This behaviour is described in http://www.mysql.com/doc/B/u/Bugs.html.
You can circumvent the behaviour with an temporary table for saving
the intermediate result.
Bye,
Benjamin.
On Sun, Sep 30, 2001 at 12:50:37PM +0200, [EMAIL PROTECTED] wrote:
Hi,
I encountered a