一个输入框作为两种条件查询,可能描述不是很好,看图: 商品表 product p_id, p_name oracle: select*fromproduct twheret.p_id||p_name like'%条件%'