比较过滤得问题, 一个表table字段1 字段2A 1B 1C 1D 1A 2X 2Y 2B 2Z 2从这里找出X 2Y 2Z 2怎么做? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select t.* from [table] t where t.字段2=2 and not exists(select 1 from [table] where 字段1=t.字段1 and 字段2=1) select * from [table] a where not exists(select 1 from [table] b where a.字段1=b.字段1 and b.字段2=1) 一个简单的查询问题 一个7万多条的数据表 和 一个6万多条的数据表,查询超过1.5秒,求救。 关于公交换乘存储过程,请教 关于sql自动id的问题? 感谢各位大侠帮我解释一个存储过程。小弟感谢!! 出现错误823 , 如何恢复数据库 ? 取到“和”小于500的明细2 请问SQL能做这种核对金额的吗? 访问远程数据库出错,该如何解决,help,help..... VFP与HP等打印机冲突问题试解决 为什么索引能提高检索效率? 问
t.*
from
[table] t
where
t.字段2=2
and
not exists(select 1 from [table] where 字段1=t.字段1 and 字段2=1)