一个查询问题 select * from tb a where subject='chinese' and not exists (select 1 from tb where subject='english' and id=a.id) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from 表 awhere subject='chinese' and not exists(select * from 表 where id=a.id and subject='english') select a.* from (select id,subject from table where subject='chinese') awhere not exits(select * from table where id=a.id and subject='english') select * from 表 a where subject='chinese' and not in (select * from 表 where id=a.id and subject='english') select * from table where subject='chinese' and id not in (select id from table where subject='english') 递归 alter如何更改identity列? 怎么设置数据库某个字段的默认值问题 高难 行列求和 求一sql语句,列出各分组中的最大的一条 高手帮忙看看这个查询错那里了 请教存贮过程的问题 从那能下sql7桌面版? 怎样显示数据库中的图片字段? 分级编码的数据库模型(急)??? 想找些例子学习SQL,但不知道到哪里找例子,怎么做呢? 送分100,存储过程
where subject='chinese'
and not exists(select * from 表 where id=a.id and subject='english')
where not exits(select * from table where id=a.id and subject='english')
and not in (select * from 表 where id=a.id and subject='english')