select * from table where a like '"&word&"%' full join select * from table where b like '"&word&"%'
SELECT * FROM iresep00 where res_creator like 'M%' union all Select * from iresep00 where Res_modifier like 'L%'在21.7万上 找出1万5568行数据 花了22.753秒 在该字段没有建立索引 进行全表扫描 成本584我想你的问题不在于SQL语句
那样也不行啊?
full join
select * from table where b like '"&word&"%'
where res_creator like 'M%'
union all
Select * from iresep00
where Res_modifier like 'L%'在21.7万上 找出1万5568行数据 花了22.753秒 在该字段没有建立索引 进行全表扫描 成本584我想你的问题不在于SQL语句