SQLite, selecting a row by row index, not id -
I got a sqlite db with 100k rows, however, some of these lines have been removed over time, So that primary keys are not sequential. Now, they have been ordered like 3,569 9 00, n ...
The problem is that I have them with the cellophore indexAvitIndEpath 0,1,2,3 etc. in a UITWview Want to make Is there any way i can sort the
SELECT * table WHERE id = 0; But compared to ID = 0, I want to select index state like 0;
from SELECT * table where table._ table_index = 0; // Do not try this at home Thanks! You can choose LIMIT and OFFSSE options to set a record to a specific location.
EX: This statement will return a line at index status 10
SELECT * from the table range 1 OFFSET 10;
Comments
Post a Comment