select * from data where type=0 and and selldate between '"&nowstartdate&"' and '"&nowenddate&"'
---------------------------------------
selldate 是时间型字段 上面是查询在某一时间段between '"&nowstartdate&"' and '"&nowenddate&"' 内的数组。
如果要作为反条件查询应该怎么写?
即取除某一时间段between '"&nowstartdate&"' and '"&nowenddate&"'以外的所有数组。
---------------------
我只有20分全给你了
听说可以用 not in ,怎么写?我试过几个方法都是脚本超时。