Re: [sqlite] how to break subquery into 2 simply query

2009-07-10 Thread Igor Tandetnik
pierr wrote: > Igor Tandetnik wrote: >> >> pierr wrote: >>> Following 2 statements took 400ms to be excuted on a 350M MIPS CPU >>> and it is a memory database: >>> >>> "DELETE FROM tblEvent_type WHERE eguid in (SELECT rowid FROM >>> tblEvent_basic WHERE sguid=11);"; >>> "DELETE FROM tblEvent_group

Re: [sqlite] how to break subquery into 2 simply query

2009-07-10 Thread pierr
Igor Tandetnik wrote: > > pierr wrote: >> Following 2 statements took 400ms to be excuted on a 350M MIPS CPU >> and it is a memory database: >> >> "DELETE FROM tblEvent_type WHERE eguid in (SELECT rowid FROM >> tblEvent_basic WHERE sguid=11);"; >> "DELETE FROM tblEvent_group WHERE eguid in (SEL

Re: [sqlite] how to break subquery into 2 simply query

2009-07-10 Thread Igor Tandetnik
pierr wrote: > Following 2 statements took 400ms to be excuted on a 350M MIPS CPU > and it is a memory database: > > "DELETE FROM tblEvent_type WHERE eguid in (SELECT rowid FROM > tblEvent_basic WHERE sguid=11);"; > "DELETE FROM tblEvent_group WHERE eguid in (SELECT rowid FROM > tblEvent_basic WHER

[sqlite] how to break subquery into 2 simply query

2009-07-09 Thread pierr
Following 2 statements took 400ms to be excuted on a 350M MIPS CPU and it is a memory database: "DELETE FROM tblEvent_type WHERE eguid in (SELECT rowid FROM tblEvent_basic WHERE sguid=11);"; "DELETE FROM tblEvent_group WHERE eguid in (SELECT rowid FROM tblEvent_basic WHERE sguid=11);"; (An inde