可以这样:
select * from tableExample where aNO like 'stra';
select * from tableExample where aNO like 'stra' and bNO like 'strb';
select * from tableExample where aNO like 'stra' and bNO like 'strb'
and cNO like 'strc';
呵呵。
你可以把上一次的结果放到一个临时表里,然后下一次的就从临时表里取。
select * from tableExample where aNO like 'stra';
select * from tableExample where aNO like 'stra' and bNO like 'strb';
select * from tableExample where aNO like 'stra' and bNO like 'strb'
and cNO like 'strc';
呵呵。
你可以把上一次的结果放到一个临时表里,然后下一次的就从临时表里取。
and bNO like 'strb' and cNO like 'strc';
不就可以了
因为我不是一下给出几个条件,而是可能先给出一个搜索字符,然后在
给出一个搜索要求,目的是第二次搜索时不用再到原始表搜索,节约时间有没有不用临时表的方法