Subject Re: [ib-support] Re: please help me with this query, TNX!!!
Author Roberto Della Pasqua
hey boys,

thanks to all you, I have solved all my troubles!

BYE :D

----- Original Message -----
From: "fabiano_bonin" <fabiano@...>
To: <ib-support@yahoogroups.com>
Sent: Monday, June 09, 2003 3:28 PM
Subject: [ib-support] Re: please help me with this query, TNX!!!


> Hi, Roberto.
> You can use:
>
> order by
> 1 desc, id desc /* supposing <id> is the name of your key field */
>
> So you will get first the 'big matching' and then, for the results
> with the same matching, the last inserted first