Re: a SQL query question - Mailing list pgsql-general

From Rajarshi Guha
Subject Re: a SQL query question
Date
Msg-id 7D8AF36D-3D5D-4272-A45B-372CEEBA8315@indiana.edu
Whole thread Raw
In response to a SQL query question  (Rajarshi Guha <rguha@indiana.edu>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jul 28, 2008, at 10:18 PM, Rajarshi Guha wrote:
> aid  pid  nmol
> - ---  ---  ----
> 3    23   100
> 2    45   3445
> 4    78   12
>
> I can easily do the first step, but am struggling to make the SQL
> for the second step. Any pointers would be appreciated

Thanks to the posters for helpful solutions

- -------------------------------------------------------------------
Rajarshi Guha  <rguha@indiana.edu>
GPG Fingerprint: D070 5427 CC5B 7938 929C  DD13 66A1 922C 51E7 9E84
- -------------------------------------------------------------------
Alcohol, an alternative to your self
         - 'Alcohol' by the Bare Naked Ladies


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkiOnG8ACgkQZqGSLFHnnoR2qQCeMntkTpqR/ZaVS/nY1izO5u5y
0FYAn0dwi8v0jSB4OvK4OnwMr+7ypQPp
=pNGY
-----END PGP SIGNATURE-----

pgsql-general by date:

Previous
From: "Adam Rich"
Date:
Subject: Re: a SQL query question
Next
From: Tom Lane
Date:
Subject: Re: why can't I load pgxml.sql