|
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: Wednesday, June 25, 2008 12:21 PM
To: Midrange Systems Technical Discussion
Subject: Max Record
I can't seem to get this right. Given data that looks like this:
5,769,550 247746
6,025,776 247746
6,025,777 247746
6,025,778 247746
6,004,452 257503
6,004,457 257503
5,986,723 279287
5,986,724 279287
5,986,725 279287
5,986,042 279369
5,986,049 279369
5,986,052 279369
How can I get the record with the largest first value in SQL? I want this:
6,025,778 247746
6,004,457 257503
5,986,725 279287
5,986,052 279369
Thanks!
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.