pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: anssiman@jippii.fi
To: pgsql-sql@postgresql.org
Subject: Useful SQL-statement?
Date: 23 Sep 2003 02:34:26 -0700
Message-ID: <e88fd790.0309230134.14b56ec2@posting.google.com> (raw)

Hello!

Is there any standard SQL-statement, which produce
resultset containing best plyers of the each team?

player |team|points
-------------------
paul    col   10
peter   col   12
steve   det   12
sergei  det    8
jere    dal    4

Resultset:

peter
steve
jere



view thread (3+ messages)  latest in thread

Message-ID: <e88fd790.0309230134.14b56ec2@posting.google.com>
Permalink:  ../e88fd790.0309230134.14b56ec2@posting.google.com/
Also on:    postgresql.org/message-id/e88fd790.0309230134.14b56ec2@posting.google.com

 · 

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: anssiman@jippii.fi
  Subject: Re: Useful SQL-statement?
  In-Reply-To: <e88fd790.0309230134.14b56ec2@posting.google.com>

* 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