Re: the "having" clause
From: toylet (toylet_at_mail.hongkong.com)
Date: 03/08/04
- Next message: toylet: "Re: the "having" clause"
- Previous message: Roji. P. Thomas: "Re: the "having" clause"
- In reply to: toylet: "Re: the "having" clause"
- Next in thread: Tibor Karaszi: "Re: the "having" clause"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 08 Mar 2004 18:24:48 +0800
sorry, I overlookced the parenthesis. Sorry.
toylet wrote:
> 2 where clauses? Are you serious? That's really strange...
>> select * from
>> (select xx.pk, xx.amount, count(*) as recno
>> from tx xx, tx yy
>> where xx.pk>=yy.pk
>> group by xx.pk, xx.amount) X
>> where recno = 1
-- .~. Might, Courage, Vision. In Linux We Trust. / v \ http://www.linux-sxs.org /( _ )\ Linux 2.4.22-xfs ^ ^ 6:24pm up 2 days 2:34 load average: 1.00 1.00 0.97
- Next message: toylet: "Re: the "having" clause"
- Previous message: Roji. P. Thomas: "Re: the "having" clause"
- In reply to: toylet: "Re: the "having" clause"
- Next in thread: Tibor Karaszi: "Re: the "having" clause"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|