我只想查找一个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 '>'. 100分求几句简单T-SQL语句 小小问题,想请教高手? 做了两年的软件和网页,竟然还不知道怎么用存储过程,你们帮帮我吧!! 数据量大,这样的查询怎样做比较好? 如何通过select语句生成一个计算字段,在线等。 求SQL语句写法 tj_dns,newdongkui请进! 备份问题 在SQL怎样判断日期是否是星期天 使用ACCESS数据库,如何在运行时建立一个小数位为两位的数据表字段? 触发器是否死循环?? 批量数据入库,触发器处理问题
用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 '>'.