Re: How to get the first four rows???
From: jcd <jcd_at_rhh.dk>
Date: 1996/05/20
Message-ID: <4np6lv$74j_at_news.dknet.dk>#1/1
Date: 1996/05/20
Message-ID: <4np6lv$74j_at_news.dknet.dk>#1/1
Ramesh Garapaty (gramesh_at_ix.netcom.com) wrote:
: Hi!
: I have a SQL as follows:
: SELECT x_date
: FROM y_table
: ORDER BY x_date desc
: However I want the first four rows only. If I say WHERE rownum < 5 it
: returns the rows even before sorting by descending order. All I want to
: see is the latest four dates from the database. Is there a SQL with
: which we can do this???
/Jacob
-- Jacob Steen Due RAMBOLL Informatics and Management email: jcd_at_ramboll.dk 'The opinions expressed by me are my own, not my employers - I think'Received on Mon May 20 1996 - 00:00:00 CEST