How to get the number of rows of the selected result from sqlite3?

try this way

select (select count() from XXX) as count, * 
from XXX;

Leave a Comment