Frank Chang <frank_chan...@hotmail.com> wrote:
> So, why is my query just working accidently?

I take it back - the behavior of your query is well-defined, for the simple 
reason that FieldName is unique, so every group only has a single row in it (as 
someone else has kindly pointed out - I missed this detail on the first 
reading). For that same reason, the whole GROUP BY and sub-select dance is 
completely pointless. Your query is just a very elaborate and wasteful way to 
write

select FieldName, rowid from BlobLastNameTest;
-- 
Igor Tandetnik

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

Reply via email to