If you are still struggling, try SELECT MAX(fld0), typeof(fld0), fld1, typeof(fld1) in each of your queries It seems that either the database is corrupt, or not all data are the same type.
If you are still struggling, try SELECT MAX(fld0), typeof(fld0), fld1, typeof(fld1) in each of your queries It seems that either the database is corrupt, or not all data are the same type.