码迷,mamicode.com
首页 >  
搜索关键字:group by case when    ( 29534个结果
Codeforces Amusing Joke 题解
So, the New Year holidays are over. Santa Claus and his colleagues can take a rest and have guests at last. When two "New Year and Christmas Men" meet, thear assistants cut out of cardboard the letter...
分类:其他好文   时间:2014-07-22 23:03:53    阅读次数:521
【LeetCode】- Length of Last Word(最后一个单词的长度)
[ 问题: ] Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0. [...
分类:其他好文   时间:2014-07-22 23:01:35    阅读次数:331
ubuntu software management
software directory: The default directory of software installed on ubuntu is /usr, so just allocate more space for this partition when installing oper...
分类:其他好文   时间:2014-05-06 00:02:59    阅读次数:281
Reverse Nodes in k-Group
Link:http://oj.leetcode.com/problems/reverse-nodes-in-k-group/Given a linked list, reverse the nodes of a linked listkat a time and return its modifie...
分类:其他好文   时间:2014-05-05 22:46:42    阅读次数:456
[ACM] poj 2823 Sliding Window(单调队列)
Sliding Window Time Limit: 12000MS   Memory Limit: 65536K Total Submissions: 36212   Accepted: 10723 Case Time Limit: 5000MS Description An array of size n ≤ 106 is gi...
分类:Windows程序   时间:2014-05-02 22:56:12    阅读次数:570
UVA 之401 - Palindromes
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string is read from lef...
分类:其他好文   时间:2014-05-02 10:33:09    阅读次数:332
CASE 表达式
CASE 表达式是一个标量表达式,它基于条件逻辑来返回一个值。注意,CASE 是一个表达式,而不是一条语句;也就是说,不能用它来控制活动的流程,也不能根据条件逻辑来做某些处理。相反,它只是根据条件逻辑来返回某个值。因为CASE是一个标量表达式,所以它可以支持任何标量表达式(如SELECT、WHERE...
分类:其他好文   时间:2014-05-02 01:46:34    阅读次数:306
switch语句语法格式
switch语句语法格式Switch是多条件判断语句。注意:使用switch中的表达式里面只能放字符或数字使用时不要忘了在case语句之后加上一个break,表示退出整个语句,如果不加入此语句,它会从第一个满足条件的地方开始后续的都要被执行。我们看下如果在case语句后面没有加上break话会出现什...
分类:其他好文   时间:2014-05-01 21:17:04    阅读次数:446
umlの用例图
我的总结是在看完uml学习之后又参考了同学借的《uml和ooad快速入门》的思路,利用齿轮带动的原理进行。废话不多说了,首先分析一下类图和用例图的联系与区别。 类图 用例图 类class 用例use case 、参与者actor 关联association 包含include、扩展extend 静态结构 动态功能 系统内观 系统外观...
分类:其他好文   时间:2014-05-01 18:37:36    阅读次数:407
[ACM] poj 1700 Crossing River (经典过河问题)
Crossing River Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 10212   Accepted: 3855 Description A group of N people wishes to go across a river with only one...
分类:其他好文   时间:2014-04-30 22:21:38    阅读次数:212
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!