- 浏览: 375208 次
- 性别:
- 来自: 合肥
文章分类
- 全部博客 (314)
- java (132)
- 生活 (13)
- javase模式 (6)
- weblogic (4)
- jquery (5)
- sql (21)
- ecside (1)
- el (3)
- css (5)
- spring (7)
- ireport (2)
- linux (14)
- struts2 (2)
- jstl (1)
- rmi (1)
- rose (9)
- js (6)
- swing (4)
- webservice (1)
- jboss (1)
- ejb3 (2)
- xml (1)
- 线程 (9)
- socket (3)
- jms (2)
- tomcat (10)
- 领域驱动 (3)
- json (3)
- 权限 (2)
- jvm (1)
- 书籍 (1)
- eclipse RCP (0)
- 数据库设计 (10)
- 软件分析建模 (5)
- 分析建模 (3)
- hibernate jpa (5)
- Java 获取系统信息,包括CPU使用率、硬盘大小、网卡状态、系统信息等 (1)
- 项目管理 (2)
- 财务 (0)
- oracle (2)
- 需求 (2)
- rcp gef (0)
- c++ (1)
- hadoop (2)
- BIGDATA (3)
- c (6)
最新评论
-
lh_kevin:
...
jpa 注解 -
一别梦心:
你好,我也遇到此问题了。就你贴的那段代码,你说了两种解决方式, ...
Hibernate的Antlr在Weblogic中产生Jar冲突的历史缘故以及解决办法 -
fireinjava:
...
el表达式 -
宋建勇:
...
JSON: property "xxx" has no getter method in class "..." -
handawei:
有道理,jpa是orm框架的java标准,它关注的是对象到关系 ...
jpa 注解
select t.startstncode ,sum(t.price100) from mp_sales t group by t.startstncode select t.startstncode ,t.tickettype ,sum(t.price100) from mp_sales t group by t.startstncode ,t.tickettype order by t.startstncode,t.tickettype select t.startstncode ,sum(t.price100) from mp_sales t group by rollup (t.startstncode) select t.startstncode ,t.tickettype ,sum(t.price100) from mp_sales t group by rollup(t.startstncode ,t.tickettype) order by t.startstncode,t.tickettype select t.startstncode ,sum(t.price100) from mp_sales t group by CUBE(t.startstncode) select t.startstncode ,t.tickettype ,sum(t.price100) from mp_sales t group by CUBE(t.startstncode ,t.tickettype) order by t.startstncode,t.tickettype select grouping(t.startstncode) ,t.startstncode ,sum(t.price100) from mp_sales t group by rollup (t.startstncode) select decode(grouping(t.startstncode),1,'all stations',t.startstncode) --,t.startstncode ,decode(grouping(t.tickettype),1,'all tickettype',t.tickettype) --,t.tickettype ,sum(t.price100) from mp_sales t group by rollup(t.startstncode ,t.tickettype) order by t.startstncode,t.tickettype select decode(grouping(t.startstncode),1,'all stations',t.startstncode) --,t.startstncode ,decode(grouping(t.tickettype),1,'all tickettype',t.tickettype) --,t.tickettype ,sum(t.price100) from mp_sales t group by CUBE(t.startstncode ,t.tickettype) order by t.startstncode,t.tickettype select t.startstncode ,sum(t.price100) from mp_sales t group by grouping sets (t.startstncode) select t.startstncode ,t.tickettype ,sum(t.price100) from mp_sales t group by grouping sets(t.startstncode ,t.tickettype) order by t.startstncode,t.tickettype select t.startstncode ,grouping_id(t.startstncode) ,sum(t.price100) from mp_sales t group by cube(t.startstncode) select t.startstncode ,t.tickettype ,grouping_id(t.startstncode,t.tickettype) ,sum(t.price100) from mp_sales t group by cube(t.startstncode ,t.tickettype) order by t.startstncode,t.tickettype select * from mp_sales t
发表评论
-
关于Union 中 ORA-12704:字符集不匹配问题的解决 .
2012-11-05 18:23 4397zhuan:http://blog.csdn.net/lqh4 ... -
oracle解锁
2012-06-19 17:04 762查看锁表进程SQL语句1: select sess.sid, ... -
Oracle集合操作函数:Union、Intersect、Minus
2012-02-17 16:19 1256集合操作不适用于LOB,Varray和潜逃表列 Unio ... -
Merge用法:Oracle 10g中对Merge语句的增强
2012-02-17 16:05 1066Merge用 ... -
数据库优化
2011-12-19 14:17 825转:http://www.iteye.com/topic/11 ... -
导入导出,创建databaselink
2011-08-10 15:56 2091pl/sql导出表结构和表 ... -
oracle改错
2011-02-09 12:19 1336系统运行了一段时间 ... -
dba常用sql
2010-12-16 17:19 11331. 查看表空间的名称及大小 select t.tablesp ... -
Oracle语句优化53个规则详解(转载)
2010-12-15 11:41 819Oracle语句优化53个规则 ... -
表修改
2010-11-17 23:12 798使用 字符串中使用’ Insert into product ... -
报表函数
2010-11-17 22:06 765报表函数: 总计: select 1 ,t.month ... -
窗口函数
2010-11-16 21:32 970为计算一定的范围的累积和移动平均值,可以结合聚合函数使用:su ... -
orace评级函数
2010-11-15 22:35 1042cume_dist(): 功能描述:计算一行在组中的相对位置 ... -
orace评级函数
2010-11-14 23:43 889rank() over (order by XX): /* ... -
orcel sql 技巧
2010-11-14 23:05 1402转载:http://www.iteye.com/topic/8 ... -
oracle
2010-10-11 10:17 730今天没事来说说oracle性能优化的技巧。。 1.选用适合的 ... -
sql优化设定
2010-09-02 10:41 823select /*+RULE*/ m.daterunid ... -
ORACLE 中IN和EXISTS比较
2010-08-23 09:49 608EXISTS的执行流程 select * from ... -
rank over pation
2010-08-11 11:11 1204排列(rank())函数。这些排列函数提供了定义一个集合(使用 ... -
查询优化
2010-04-08 10:14 1068一、SQL语句优化:1: exists ...
相关推荐
以上两种方式都是模拟任务block内为异步操作的情况,方式一先执行的dispatch_group_notify里的代码,后执行的dispatch_group_async里的任务代码,这与我们的初衷相违背。如果任务block内为同步操作时,则无论哪种...
The Open Group是一个总部在英国的非营利协会,致力于促进全球市场的业务效率。通过汇集信息系统的买方和供应商,以降低整合跨企业新技术的壁垒。The Open Group的著名会员有IBM、SUN、NEC、HSBC、EDS、HP、SAP、及...
GROUP BY子句要和聚合函数配合使用才能完成分组查询,在SELECT查询的字段中,如果没有使用聚合函数就必须出现在ORDER BY子句中。分组查询后,查询结果为一个或多个列分组后的结果集。 GROUP BY语法 SELECT 列名, ...
1、 如果使用 groupby table转换为流的时候只能用toRetractDstream val rDstream: DataStream[(Boolean, (String, Long))] = table.toRetractStream[(String,Long)] 2、 toRetractDstream 得到的第一个boolean型...
group by的使用,order by的使用,以及 group by + order by的一起使用。
Windows Group Policy Troubleshooting is your best-practice guide to Group Policy, showing you all that it can achieve, and how to repair problems when they occur. What You'll Learn Understand how ...
group by 就是依据by 后面的规则对数据分组,所谓的分组就是讲数据集划分成若干个’小组’,针对若干个小组做处理。 2.语法规则 SELECT column_name, aggregate_function(column_name) FROM table_name WHERE ...
本文实例讲述了mysql使用GROUP BY分组实现取前N条记录的方法。分享给大家供大家参考,具体如下: MySQL中GROUP BY分组取前N条记录实现 mysql分组,取记录 GROUP BY之后如何取每组的前两位下面我来讲述mysql中GROUP BY...
宝利通polycom-group500、group550初始化配置手册.doc
BUS、Net-Class、Net-Group以及Match-Group的区别
How to decompress tiff CCITT Group 3 and CCITT Group 4 use C language
一、如何理解group by 后 带 rollup 子句所产生的效果 group by 后 带 rollup 子句的功能可以理解为:先按一定的规则产生多种分组,然后按各种分组统计数据(至于统计出的数据是求和还是最大值还是平均值等这就取决...
SQL中group by的详细用法
Group Policy, Fundamentals, Security, and the ManagedDesktop, 3rd Edition helps you streamline Windows andWindows Server management using the latest Group Policy tools andtechniques. This updated ...
order by 、group by 、having的用法区别 order by 从英文里理解就是行的排序方式,默认的为升序。 order by 后面必须列出排序的字段名,可以是多个字段名。 group by 从英文里理解就是分组。必须有“聚合函数”来...
sqlserver+group by分组查询分页存储过程
Research in group theory have resulted in a large number of books written for postgraduates in the subject, but a good introductory text is difficult to find. This book fills the gap, providing a ...
polycom group 310 使用说明书
group policy client服务未能登录,拒绝访问
Enhance your Group Policy reach with the Group Policy Preferences, ADMX files, and additional add-ons Use every feature of the GPMC and become a top-notch administrator Troubleshoot Group Policy using...