2017年4月16日
摘要: 根据标准sql规定,select字段(除聚合函数与)必须跟在group by后,但mysql除外,即select * from table a group by a.property 无报错 聚合函数如下: 1. avg() 取其平均数 2.count() 取其数量,返回值为int 3.max() 阅读全文
posted @ 2017-04-16 23:19 十字街~ 阅读(165) 评论(0) 推荐(0)
摘要: alter table 表名 alter column 字段 varchar(长度) 阅读全文
posted @ 2017-04-16 22:42 十字街~ 阅读(548) 评论(0) 推荐(0)
摘要: File file=new File("address"); FileInputStream in=new FileInputStream("file"); InputStreamReader read=new InputStreamReader("in","utf-8"); BufferedReader buf=new BufferedReader(read); String str=""; ... 阅读全文
posted @ 2017-04-16 22:26 十字街~ 阅读(415) 评论(0) 推荐(0)
摘要: input只读属性设置为readonly,不能设为disabled 阅读全文
posted @ 2017-04-16 22:14 十字街~ 阅读(193) 评论(0) 推荐(0)
摘要: dtd样式:<!DOCTYPE concept SYSTEM "http://docs.oasis-open.org/dita/v1.2/os/dtd1.2/technicalContent/dtd/concept.dtd"> dom4j读取: 阅读全文
posted @ 2017-04-16 22:04 十字街~ 阅读(330) 评论(0) 推荐(0)
摘要: bind:在绑定bind时就会判断绑定对象是否存在,只针对于当前对象绑定,js等新生成后增加元素不能绑定 live:弥补bind缺陷,对js等新生成的元素也进行绑定 阅读全文
posted @ 2017-04-16 21:50 十字街~ 阅读(124) 评论(0) 推荐(0)