On Wednesday 13 January 2010 11:26, Massimo Fazzolari wrote: > Thank you for reply Leonardo. > > I'm using SqLite. I tested the query with sqlite command line tool. The > query is correct. The problem is Zeos. I'm using ZEOS for years, and it works correct (postgresql). Such query (as mentioned here) work without problems. zeljko