I created a table using the SQLiteOpenHelper:
public void onCreate(SQLiteDatabase db) {
// TODO Auto-generated method stub
db.execSQL(
"CREATE TABLE " + DATABASE_TABLE + " (" +
KEY_ROWID + " INTEGER PRIMARY KEY AUTOINCREMENT, " +
KEY_NAME + " TEXT NOT NULL, " +
KEY_SWIMMERLAPS + " INT NOT NULL, " +
KEY_SPONSOR + " DEC NOT NULL );"
);
How would I multiply the values of the swimmer laps by the sponsor using an SQLiteDatbase method?
Try this: