i need to know how to make a select with the insert order in DB without making any index field by my own . May be this posible?
And , the insertion order in a transaction is linear-mode? (first insert sentences -> first insert )
DB CREATION:
private static final String CREATE_TABLE_SONGS = "CREATE TABLE IF NOT EXISTS SONGS (" +
"LIST_ID int NOT NULL, " +
"PLAY_ID int NOT NULL, " + //ID of the song in the list
"SONG_ID int NOT NULL, " + //ID of the song
"TITLE varchar(200) NOT NULL," +
"TIME int NOT NULL, " +
"PROVIDER int NOT NULL, " +
"PROVIDER_ID varchar(200) NOT NULL, " +
"SONG_STATE int NOT NULL, " +
"PRIMARY KEY (LIST_ID,PLAY_ID));";
And then
db.execSQL(CREATE_TABLE_SONGS);