Article View: borland.public.interbase.sql
Article #11400Re: First Row Only
From: The DeerBear
Date: Tue, 26 Nov 2002 13:23
Date: Tue, 26 Nov 2002 13:23
16 lines
1418 bytes
1418 bytes
Rafael Vacas wrote: > select * from my_table > where my_field = (select max(my_field) from my_table) > > ... where my_field is the "column which determines the order". So, it's like.. CREATE INDEX "my_Field" DESCENDING and then using that to issue a select like u typed? TIA > Rafael > A CoruοΏ½a Andrew
Technical Details
Message-ID:
<3de375d5@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!nntp2.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3dde4dd0$1@newsgroups.borland.com> <3DDE525C.7A554A48@mindspring.com> <MPG.18482dd49976c2ab98a236@newsgroups.borland.com> <3de3690d@newsgroups.borland.com> <3de37412@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 114a0e,9e46d5f5a9f54bbf X-Google-Attributes: gid114a0e,public X-Google-ArrivalTime: 2002-11-26 05:27:11 PST From: "The DeerBear" <rainaple@tin.it> Newsgroups: borland.public.interbase.sql References: <3dde4dd0$1@newsgroups.borland.com> <3DDE525C.7A554A48@mindspring.com> <MPG.18482dd49976c2ab98a236@newsgroups.borland.com> <3de3690d@newsgroups.borland.com> <3de37412@newsgroups.borland.com> Subject: Re: First Row Only Date: Tue, 26 Nov 2002 14:23:32 +0100 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 217.57.210.22 Message-ID: <3de375d5@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038317013 217.57.210.22 (26 Nov 2002 05:23:33 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!nntp2.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail