这几天一直在写SQL,有时候对比同样效果的SQL语句,可是查询所需要的时间有时候相差很多,下面总结遇到的几个点:1、between and 在有些时候自己比较喜欢使用这个语句,因为可以通过把数据变成number型然后省去大于号小于号,比如比较常用的查询一个月的数据。 select * from...
分类:
数据库 时间:
2014-10-16 19:52:03
阅读次数:
262
1.天下没有不散之宴席,数据传输结束后,现在服务器和客户机都处于ESTABLISHED状态,客户机想要和服务器断开连接,就会向服务器发送一个标志位FIN=1的报文(FIN=1表示请求断开连接)这时客户机就处于FIN—WAIT—1状态
2.当服务器收到请求断开的数据包以后立即发出确认,确认号acknowledge number等于序列号加一,标志位ACK=1,此时服务器进入CLOSE_WAIT状态...
分类:
其他好文 时间:
2014-10-16 19:28:12
阅读次数:
148
算数(arithmatic): 代数(algebra): 初等代数(elementary algebra): 抽象代数(abstract algebra) 几何(geometry) 数论(number thoery) 群(group) 环(ring):一个代数结构,定义了广义化的算数加和乘运算 域(fiel...
分类:
其他好文 时间:
2014-10-16 19:14:13
阅读次数:
227
【转http://blog.csdn.net/wengyupeng/article/details/8513527】1.通用Tcode:SNRO常用维护特定Number range Tcode:5NZINumber range maintenance: RP_IRCERTNumber range m...
分类:
其他好文 时间:
2014-10-16 15:33:42
阅读次数:
1107
本文的主题是 Python 中的数字。会详细介绍每一种数字类型,它们适用的各种运算符, 以及用于处理数字的内建函数。在文章的末尾, 简单介绍了几个标准库中用于处理数字的模块。本文地址:http://www.cnblogs.com/archimedes/p/python-number.html,转载请...
分类:
编程语言 时间:
2014-10-16 15:25:42
阅读次数:
279
[leetcode]Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)...
分类:
其他好文 时间:
2014-10-16 13:02:12
阅读次数:
183
By using the
params keyword, you can specify a method parameter that takes a variable number of arguments.
You can send a comma-separated list of arguments of the type specified in the parameter de...
1.Hive row_number() 函数的高级用法 row_num 按照某个字段分区显示第几条数据select imei,ts,fuel_instant,gps_longitude,gps_latitude,row_number() over (PARTITION BY imei ORDER B...
分类:
其他好文 时间:
2014-10-16 12:19:22
阅读次数:
409
假如有一台客户机和一台服务器,现在客户机想要和服务器通信,那么首先客户机就会发送一个同步位等于1确认序列号有效位等于0的数据包给服务器,(syn(同步位)等于1表示请求建立链接)同时会随机产生一个sequence number(序列号),假如是100,当服务器接受到客户机发来的数据后,客户机从SYN(同步位)=1可知客户机是想要建立连接,第一次握手完成
第二次握手:服务器收到消息后肯定要进行确认...
分类:
其他好文 时间:
2014-10-16 11:47:12
阅读次数:
147
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他好文 时间:
2014-10-16 06:33:22
阅读次数:
238