Clemens Ladisch wrote: > > John Found wrote: >> Also, it seems max(b = ?1) will do the trick as well as count(b = ?1) >> >> And here another question appears. What is more efficient? > > In SQLite, both are equally efficient. > > Use whatever makes the query easier to understand. Clemens, I just learned from you that count(b=?1) is not an option as it also counts zero or false. Thanks, E. Pasma _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
- [sqlite] Filtering groups by non-grouped field. John Found
- Re: [sqlite] Filtering groups by non-grouped field. Clemens Ladisch
- Re: [sqlite] Filtering groups by non-grouped fiel... John Found
- Re: [sqlite] Filtering groups by non-grouped ... Keith Medcalf
- Re: [sqlite] Filtering groups by non-grouped ... Clemens Ladisch
- Re: [sqlite] Filtering groups by non-grou... Clemens Ladisch
- Re: [sqlite] Filtering groups by non... John Found
- Re: [sqlite] Filtering groups by... Clemens Ladisch
- Re: [sqlite] Filtering group... E.Pasma
- Re: [sqlite] Filtering groups by non-grouped field. E.Pasma
- Re: [sqlite] Filtering groups by non-grouped fiel... Clemens Ladisch
- Re: [sqlite] Filtering groups by non-grouped field. R Smith