You want to create an index for a specific column, for example, to the name column.
db.execSQL("CREATE TABLE book (" + "_id INTEGER PRIMARY KEY AUTOINCREMENT," + "name TEXT ," + "autor TEXT" + ");"); You want to create an index for a specific column, for example, to the name column.
db.execSQL("CREATE TABLE book (" + "_id INTEGER PRIMARY KEY AUTOINCREMENT," + "name TEXT ," + "autor TEXT" + ");"); Source: https://ru.stackoverflow.com/questions/676022/
All Articles