pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: vali@voxline.ro
To: pgsql-sql@postgresql.org
Subject: Where of an aggregate
Date: Sun, 15 Jun 2003 11:01:52 +0300
Message-ID: <200306150801.h5F81qj32555@webnew.voxline.ro> (raw)

HI!
Try this

select c.traffic from
(select sum(bytes) as traffic
    from traffic_table
group by ip) c where c.traffic<(100*1024*1024);




view thread (4+ messages)

Message-ID: <200306150801.h5F81qj32555@webnew.voxline.ro>
Permalink:  ../200306150801.h5F81qj32555@webnew.voxline.ro/
Also on:    postgresql.org/message-id/200306150801.h5F81qj32555@webnew.voxline.ro

 · 

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: vali@voxline.ro
  Subject: Re: Where of an aggregate
  In-Reply-To: <200306150801.h5F81qj32555@webnew.voxline.ro>

* 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