我只想查找一个Table对应某个字段:如Pricid字段不重复的所有字段的信息,请各位指点儿! select * from tablename a where not exists(select count(*) from tablename where pricid =a.pricid)>1 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 to:ZheninChangJiang用select * from Detailswork a where not exists(select count(*) from Detailswork where pricid =a.pricid ) > 1怎么有下面的错误提示?Server: Msg 170, Level 15, State 1, Line 1Line 1: Incorrect syntax near '>'. 怎样进行“数据回滚”? access转sql server的问题 集合问题 mof编译器无法连接wmi 问两个关于索引的简单问题 一个查询语句的问题. SQL Server 2005 使用SQL Server身份验证登录失败 [急]将sqlserver的一个表的数据随机取出50条导入access中,这个语句应该怎么写?? 向sql数据库中导入txt文件问题 触发器中columns_update()函数怎么用,能解释一下吗? 触发器是否死循环?? 批量数据入库,触发器处理问题
用select * from Detailswork a where not exists(select count(*) from Detailswork where pricid =a.pricid ) > 1
怎么有下面的错误提示?
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near '>'.