Could someone help me out please...

$sql->Query("Select First, Last from table order by Last");
for ($i = 0; $i < $sql->rows; $i++) {
$sql->Fetch($i);
If the above returns all rows and below returns the last five out of 10 rows...how would I return only the FIRST 5?

$sql->Query("Select First, Last from table order by Last");
for ($i = 5; $i < $sql->rows; $i++) {
$sql->Fetch($i);
I'm just not getting it I guess...
Thanks