Get most recent message between users?

From: Nick <nboutelier(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Get most recent message between users?
Date: 2009-08-17 23:33:11
Message-ID: be801ea4-6eb4-478e-93b9-46c4881fb244@c2g2000yqi.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

messages (id, to_user, from_user, created)
1 | 1 | 2 | 2009-05-21
2 | 1 | 3 | 2009-06-21
3 | 1 | 4 | 2009-07-21
4 | 2 | 1 | 2009-05-10
5 | 2 | 3 | 2009-06-10
6 | 1 | 2 | 2009-07-10

How could I get the most recent message between two users?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bryan Murphy 2009-08-17 23:36:56 Re: Failover, Wal Logging, and Multiple Spares
Previous Message Greg Stark 2009-08-17 23:20:53 Re: Rapid Seek Devices (feature request)