不用客气,你要的SQL语句
需要建一临时表 t_atti
这个表定义两个定段即可,一个字段为主键
一个字段来存储用户选择的特征在用户需要查询时把数据插入到临时表中然后你再这么写
select A.动物, count(*)
  from table1 A
  where A.特征 in (select B.特征 from t_atti)
group by 动物
having count(*) = (select count(*) from t_atti)