which row did you want, the 49th? by which column?
and yes, if there are fewer than 49 rows, it would seem appropriate (at least, it seems so to me) to choose the last one
what database are you using? this forum is for non-specific (i.e. standard) sql
you may want to consider the Access or SQL Server forums, if TOP works in your database