sprintf(gszSqlCmd,"select trackID from(select trackID, count(trackID) as ntrack from tblCells where time = %d group by trackID) where ntrack > 1",gCurrentTime);
sprintf(gszSqlCmd,"select trackID from(select trackID, count(trackID) as ntrack from tblCells where time = %d group by trackID) where ntrack > 1",gCurrentTime+1);