| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 3072 人关注过本帖
标题:Sql问题请教
取消只看楼主 加入收藏
Davisxie
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2017-4-26
收藏
 问题点数:0 回复次数:0 
Sql问题请教
请高手指点, 感激不尽 在线等。
Define a table divisors in which each row describes the number of unique divisors for an integer up to 100. For example, the number 16 has 5 unique divisors: 1, 2, 4, 8, and 16.

create table divisors as
    select  

-- Example:
select * from divisors limit 20;
-- Expected output:
--   1|1
--   2|2
--   3|2
--   4|3
--   5|2
--   6|4
--   7|2
--   8|4
--   9|3
--   10|4
--   11|2
--   12|6
--   13|2
--   14|4
--   15|4
--   16|5
--   17|2
--   18|6
--   19|2
--   20|6
搜索更多相关主题的帖子: describes example number 在线 
2017-04-26 17:11
快速回复:Sql问题请教
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014486 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved