你是说模糊查询马?
我这有一个例子
不知能不能满足你的要求(Access)
inherited;
  with ADOQ_kehucode do
  begin
  sql.Clear;
  sql.Add('select 客户名称 from 客户信息 where ');
  sql.add('业务负责人='+inttostr(frmdm.userID));
  sql.Add(' and 客户编码 like '+''''+edt_code.Text+'%''');  active:=true;
  end;