目录 1)基本 2)数学函数 3)rownum 4)分页 5)时间处理 6)字符函数 7)to_number 8)聚合函数 9)学生选课 10)图书馆借阅 基本 数学函数 rownum相关 分页查询 (假设每页显示10条) 不包含排序: --效率低 包含排序: 时间处理 1. to_char和to_ ...
分类:
数据库 时间:
2019-04-26 00:12:21
阅读次数:
169
概述 这是我在工作中扒的 知乎专栏 的开放性api,记录下来供以后开发时参考,相信对其他人也有用。 开放性api 其中hemingke是专栏名字,可以换成其它名字。 专栏详情:https://zhuanlan.zhihu.com/api/columns/hemingke 专栏文章:https://z ...
Train and Peter CodeForces - 8A Peter likes to travel by train. He likes it so much that on the train he falls asleep. Once in summer Peter was going ...
分类:
其他好文 时间:
2019-04-22 22:34:45
阅读次数:
145
在同时需要用到index和value值的时候可以用到enumerate,参数为可遍历的变量,如字符串,列表等,返回enumerate类。 例: import string s = string.ascii_lowercase e = enumerate(s) print s print list(e ...
分类:
编程语言 时间:
2019-04-22 18:01:31
阅读次数:
148
有人可能会想,连2-1和2-2这样的题目都回答,够无聊的啊。因为现在处于并长期处于成为大师的第一阶段------守的阶段2-1>>>a=‘123‘>>>a‘123‘>>>print(a)123a是字符串123,如果格式化输出有问题报如下错误:>>>print(‘ais%d‘%a)Traceback(mostrecentcall
分类:
编程语言 时间:
2019-04-20 16:57:57
阅读次数:
147
题意 给两个数组分别为$a$和$k$,有若干次操作: 1.给$a_x$加上$y$,并以此对$a_{x + i}(i \ge 1)$赋值为$\max \{a_{x + i}, a_{x + i 1} + k_{x + i 1}\}$。 2.询问区间$[l, r]$的$a_i$的和。 题解 自闭了啊。 ...
分类:
其他好文 时间:
2019-04-18 09:20:32
阅读次数:
132
准备数据 分组的概念与mysql相同,以某个字段作为依据进行归类,其目的是为了统计 $match $project $group $sort ,limit,skip $sample 可视化工具 https://robomongo.org ...
分类:
数据库 时间:
2019-04-17 09:26:48
阅读次数:
222
For controlling the Arduino board and performing computations. Digital I/O digitalRead() digitalWrite() pinMode() Analog I/O analogRead() analogRefere ...
分类:
其他好文 时间:
2019-04-16 19:06:37
阅读次数:
175
网址:https://www.cnblogs.com/tongyi/p/4274354.html 实际情况一般有单独的站点存放静态文件,比如图片、office文档等。A站点的操作需要上传文件到B站点, 下面介绍一种方法通过System.Net.WebClient类的UploadData方法 。 up ...
分类:
Web程序 时间:
2019-04-16 14:41:20
阅读次数:
184
```python
# 全部小写
string.lower()
# 全部大写
string.upper()
# 是否全部小写
string.islower()
# 是否全部大写
string.isupper()
# 首字母大写
string.capitalize()
# 大小写转换
string.s... ...
分类:
编程语言 时间:
2019-04-15 14:44:09
阅读次数:
393