Article View: pl.comp.lang.delphi.bazy-danych
Article #70554Re: Filtrowanie ostatnich danych
From: wloochacz
Date: Fri, 03 Aug 2007 14:51
Date: Fri, 03 Aug 2007 14:51
13 lines
1223 bytes
1223 bytes
> Witam, > potrzebuję zrobić zapytanie, w taki sposób, aby wyświetkić "n" ostatnich > pozycji (np. 5 ostatnich faktur dla danego kontrahenta). > Niestety brak mi pomysłu, a wydaje mi się, że to nie jest zbyt trudne. > > Baza Firebird select first 5 * from fakturki where kontrahent = :kontrahent order by datafakturki desc -- wloochacz
Technical Details
Message-ID:
<f8vf9c$2ug$1@atlantis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<f8vdrl$rl5$1@atlantis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: wloochacz <wl@no.spam> Newsgroups: pl.comp.lang.delphi.bazy-danych Subject: Re: Filtrowanie ostatnich danych Date: Fri, 03 Aug 2007 16:51:14 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 13 Message-ID: <f8vf9c$2ug$1@atlantis.news.tpi.pl> References: <f8vdrl$rl5$1@atlantis.news.tpi.pl> NNTP-Posting-Host: plast-box.pl Mime-Version: 1.0 X-Trace: atlantis.news.tpi.pl 1186152556 3024 195.205.119.237 (3 Aug 2007 14:49:16 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Fri, 3 Aug 2007 14:49:16 +0000 (UTC) User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: <f8vdrl$rl5$1@atlantis.news.tpi.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit