The SQL is something like
SELECT TOP 2 * FROM <yourtable>
ORDER BY counter, DESC
WHERE ip = <selected ip>
depending, as Jay says, on your SQL engine.
Mark Stanton
One small step for mankind...
--
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted