Best way to fetch last 4 rows from a result set using mysql

Posted by PHP-Prabhu on Stack Overflow See other posts from Stack Overflow or by PHP-Prabhu
Published on 2010-06-05T11:54:40Z Indexed on 2010/06/05 12:02 UTC
Read the original article Hit count: 155

Filed under:

Can any one please let me know, that, i need to fetch last 4 rows from a result-set using mysql. The result-set returns totally 6 records.

but, i need the records to be fetch from last4...i.e,

Record-3
Record-4
Record-5
Record-6

© Stack Overflow or respective owner

Related posts about mysql