SQLite Forum

2 queries asking the same, give different answers
Login
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.