I've a query that pulls records based on the search parameter, and I want query to return total records as well as paginate based on start and end, do I've to run two queries or is there more intuitive way to do in a single query.
SELECT * FROM page WHERE article_id = ? AND content like '%@%' //replacing @ with keyword
Edit: Looking for Standard SQL (using WebSQL actually)