2
2
2pa2016-09-10 02:24:11
SQL
2pa, 2016-09-10 02:24:11

How to find out the number of received records from the sample?

SELECT * FROM items WHERE id > :last_id LIMIT 5
This is in case there are less than 5 news in the table after :last_id

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2016-09-10
@2pa

num_rows function at your service

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question