use execSQL instead of rawQuery for certain types of statements, if version <=3