在sql语句中经常用到group by,但是对其并不是太了解,所以记录下来:select A,cout(*) 数量 from table_name group by A;group by 的使用有一条原则,那就是select 后面的所有列中没有使用聚合函数到必须出现在group by 后面。那么gr...
分类:
其他好文 时间:
2014-07-16 20:26:17
阅读次数:
162
Pascal吧友作品 一个小RPGChaobs转载varplife,plifemax,patt,pre:integer;gr,ex,exmax:integer;alife,alife1,aatt,are:integer;name,fname:string;na:text;code,co:string...
分类:
其他好文 时间:
2014-07-16 19:31:32
阅读次数:
305
DescriptionNchildren are playing Rochambeau (scissors-rock-cloth) game with you. One of them is the judge. The rest children are divided into three gr...
分类:
其他好文 时间:
2014-07-13 23:45:13
阅读次数:
268
1. [代码][C/C++]代码 //创建uilabelUILabel *label1 = [[UILabel alloc] initWithFrame:CGRectMake(20, 40, 280, 80)];//设置背景色label1.backgroundColor = [UIColor gr....
分类:
移动开发 时间:
2014-07-07 18:50:59
阅读次数:
212
运行导出代码,浏览器提示下载框,但是大小为0kb,跟踪代码执行情况,在这一行就结束了wb=newXSSFWorkbook(is);没有异常抛出。(可能是tomcat层面把异常处理了)总之,找了半天问题,终于发现了,原来是jar包版本不一致造成的。看poi-ooxml-3.8的pom:<dependency><gr..
分类:
其他好文 时间:
2014-07-05 23:16:52
阅读次数:
378
ASP.NET GridView中文本内容无法换行(自动换行/正常换行)作者: 字体:[增加 减小] 类型:转载用GridView来显示课程表,每个单元格的内容包括课程名、上课地点、教师姓名,然后我想让它们分行显示,感兴趣的朋友可以了解下,或许对你有所帮助最近做项目的时候,遇到这样一个问题:我用Gr...
分类:
Web程序 时间:
2014-06-26 17:11:30
阅读次数:
232
publicclassMainActivityextendsActivity{ GrameViewgrameView;@OverridepublicvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);gr...
分类:
其他好文 时间:
2014-06-25 11:36:52
阅读次数:
238
public class City
{
String name;
int id;
static int idCounter = 0;
public City(String name)
{
this.name=name;
id = idCounter++;
}
}
import java.util.ArrayList;
public class Gr...
分类:
编程语言 时间:
2014-06-19 10:36:26
阅读次数:
196
1.alpha //设置透明层次2.blendtrans //淡入淡出3.blur // 模糊4.chroma //制作专用颜色透明5.dropshadow //创建对象的固定影子6.FilpH //创建水平镜像图片7.FilpV //创建垂直镜像图片8.glow //加光辉在附近对象的外边9.gr...
分类:
Web程序 时间:
2014-06-16 12:55:28
阅读次数:
197
维护在线redolog
OracleDatabase-EnterpriseEdition-Version11.2.0.4to11.2.0.4
1.首先查看当前redolog的大小:
[oracle@oracle~]$sqlplus/assysdba
OracleDatabase10gEnterpriseEditionRelease10.2.0.1.0-64bitProduction
SQL>selectgroup#,bytes,statusfromv$log;
GR..
分类:
数据库 时间:
2014-06-02 03:55:10
阅读次数:
426