Query Planner GROUP BY and HAVING clauses optimization ?

Jean-Baptiste Gardette <[email protected]>
Newsgroups gmane.comp.db.sqlite.general
Message-ID <[email protected]>
Hi,
Consider the following exemple :

CREATE TABLE t1 (
a TEXT PRIMARY KEY,
b INTEGER);

SELECT *
FROM t1
GROUP BY a
HAVING b > 1;

Will the GROUP BY clause be supressed and HAVING clause be rewritten in 
WHERE clause by the optimizer ?

Jean-Baptiste
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.