Frank Missel <fr...@missel.sg> wrote:
> I would have expected an error message here to the effect that a non
> aggregate value was not part of the grouping.

SQLite allows this as an extension. When this happens, a value from an 
arbitrary row within the group is reported. This is often convenient.

> The result is strange and misleading and can easily lead to data errors.

If you don't like this facility, don't use it in your queries. No one's forcing 
you.
-- 
Igor Tandetnik

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

Reply via email to