Excel精英培训网

 找回密码
 注册
数据透视表40+个常用小技巧,让你一次学会!
楼主: mn860429

SQL系列练习【练习七、谓语动词distinct的使用】

  [复制链接]
发表于 2012-2-20 14:07 | 显示全部楼层
select a.姓名,count(a.姓名) as 计数 from (select distinct* from [Sheet1$a:b]) as a group by a.姓名
回复

使用道具 举报

发表于 2012-2-20 14:16 | 显示全部楼层
回复

使用道具 举报

发表于 2012-2-20 14:24 | 显示全部楼层
select * from [一月$a:d]
where 语文 is not null and 数学 is not null and 英语 is not null
如果字段很多,有什么好的办法呢?
回复

使用道具 举报

发表于 2012-3-2 13:19 | 显示全部楼层
,回帖学习.
回复

使用道具 举报

发表于 2012-5-3 16:55 | 显示全部楼层
来看看 distinct能放到后面么
回复

使用道具 举报

发表于 2012-8-14 23:54 | 显示全部楼层
have a look,make a progress
回复

使用道具 举报

发表于 2012-8-15 00:10 | 显示全部楼层
111111111111111111111
回复

使用道具 举报

发表于 2012-12-19 18:23 | 显示全部楼层
回复查看本帖内容。
回复

使用道具 举报

发表于 2013-4-30 17:02 | 显示全部楼层
学习                    
回复

使用道具 举报

发表于 2014-6-1 19:33 | 显示全部楼层
学习了,谢谢!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|Excel精英培训 ( 豫ICP备11015029号 )

GMT+8, 2025-8-16 05:12 , Processed in 0.120478 second(s), 4 queries , Gzip On, Yac On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表