In Oracle you can do the following and only return the first 5 records:
select *
from tablename
where rownum = 5;
Does anyone know if you can do the same thing in MySql? I have heard of a numrow but was unable to find this on the MySql site. If anyone can send me a sample of how to do this I would be very greatful.
Thanks in advance.
select *
from tablename
where rownum = 5;
Does anyone know if you can do the same thing in MySql? I have heard of a numrow but was unable to find this on the MySql site. If anyone can send me a sample of how to do this I would be very greatful.
Thanks in advance.