Bart Smissaert wrote:
> Have a table with one field holding numbers from 0 to about 110.
> The field has no data type, so it is not integer or text.
> [...]
> I thought that as the field has no date affinity, it should be handled
> as integer numbers

Fields without affinity are never converted without need, and any
number compares less than any string.  I'd guess you have strings.
See:
  SELECT DISTINCT typeof(age_band) FROM table1


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to