MYSQL单⼀表格多次查询取交集和并集合
select * from info where id like binary "%"#{text1}"%" or info_type like binary "%"#{text1}"%" or type like binary "%"#{text1}"%" or release1 like binary "%"#{text1}"%"
or effective_s like binary "%"#{text1}"%" or effective_o like binary "%"#{text1}"%" or compete like binary "%"#{text1}"%" or region like binary "%"#{text1}"%" or product like binary " %"#{text1}"%" or source like binary "%"#{text1  }"%"or content like binary "%"#{text1}"%" or impact like binary "%"#{text1}"%" or stime like binary "%"#{text1}"%"
mysql交集查询同⼀张表格进⾏三次不同内容模糊查询。现在需要第⼀次查询与第⼆次查询取并级后,产⽣的结果集再与第三次查询的结果集取交集。SQL 语句怎么写呢,⽤的mysql数据库。spring+mybatis框架

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。