A disturbing effect of the implementation of CTE :

with sample(rank,rand) as (values(1,random()),(2, random()))
 select * from sample a, sample b on a.rank=b.rank;

gives :


rank rand rank rand   0 1 -4662617171230690406 1 -8784008985057089983  1 2
-8243192423181459578 2 2566393184580211567
==> It would be nice if somehow we could suggest SQLite to pre-calculate a
CTE.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to