I have a table named t1 with following fields: ROWID, CID, PID, Score, SortKey
it has the following data:
1, C1, P1, 10, 1 2, C1, P2, 20, 2 3, C1, P3
We can use LIMIT clause in SQLite. For example :
select * from tableName where field1='something' limit 10;
this gives the 10 first rows.