On Wed, 24 Oct 2001 23:59:04 +0200, Tonni Aagesen wrote:
> For 0-10 ("SELECT ........ LIMIT 0,10" )
Det giver 0-9 (de ti første rækker). [Hvis vi nummererer rækkerne fra
nummer 0 og fremefter].
> for 10-20 ("SELECT ........ LIMIT 10,20")
Det giver 10-29 (20 rækker, talt fra ti rækker inde).
"* The LIMIT clause can be used to constrain the number of rows
returned by the SELECT statement. LIMIT takes one or two numeric
arguments. If two arguments are given, the first specifies the offset
of the first row to return, the second specifies the maximum number
of rows to return. The offset of the initial row is 0 (not 1)"
<
http://www.mysql.com/doc/S/E/SELECT.html>
Mvh.
--
"Oh. Well it feels just delicious, wonderful. It feels ... Adam Sjøgren
marvelous, splendid, swinging, groovy, fantastic." asjo@koldfront.dk