做了一个功能需要分组查询,同时查询A表分组查询的ID需要关联B表的数据,本来想两个表关联查询,但是报group by 语法不正确。所以做了以下修改。select count(*),cindexid,(select vindexcode from comindex where pk_index =ci...
分类:
数据库 时间:
2014-07-09 20:04:57
阅读次数:
224
一、自己记录的知识点1.this.index == oBtn.length - 1 && (oDiv.style.cssText = ""); //&&的条件操作符功能,cssText获取行间样式2.oLink['href'] = this.id + ".css"; //href及id等...
分类:
其他好文 时间:
2014-07-09 19:23:44
阅读次数:
192
找了很多的资料,都没有windows做时间服务,linux同步windows的时间的,最后自己找了一些软件,终于搞定了,写出来给大家共享,以免大家多走弯路 首先在http://www.meinberg.de/english/sw/index.htm 下载了一个windows的NTP服务程序:nt.....
1.myisam,bdb,innodb,memory 单表至少支持16个索引2.create index id_index on emp (id) 为emp表创建一个名为id_index的id字段的索引3.drop index id_index on emp 删除emp表的id_index 索引4....
分类:
数据库 时间:
2014-07-08 22:42:14
阅读次数:
306
1.查询索引数量select table_name, count(*) cnt from user_indexes where index_type='NORMAL' group by table_namehaving count(*) >= 1order by cnt desc ;2.查询外键未....
分类:
数据库 时间:
2014-07-08 22:40:18
阅读次数:
308
来源:ruanyifeng所有应用软件之中,数据库可能是最复杂的。 MySQL的手册有3000多页,PostgreSQL的手册有2000多页,Oracle的手册更是比它们相加还要厚。 但是,自己写一个最简单的数据库,做起来并不难。Reddit上面有一个帖子,只用了几百个字,就把原理讲清楚了。下面.....
分类:
数据库 时间:
2014-07-08 21:56:14
阅读次数:
316
jQueryt过滤选择器基本过滤选择器选择器描述返回示例重要:first返回第一个元素单个元素:last返回最后一个元素单个元素:not(selector)除去与给定选择器匹配的元素集合元素☆:even偶数元素集合元素:odd奇数元素集合元素:eq(index)返回集合中指定索引的元素,索引0开始单...
分类:
Web程序 时间:
2014-07-08 21:53:29
阅读次数:
364
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=12811384599010340All in AllAcceptedC++0.0262014-07...
分类:
其他好文 时间:
2014-07-08 21:50:11
阅读次数:
230
从命令行执行django数据库操作,报错:
django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before acce...
分类:
数据库 时间:
2014-07-08 17:57:04
阅读次数:
495
rewrite(.*)http://192.168.1.22/index.htm?permanent;nginxrewrtie的时候会带上参数,在结尾带上?的话,nginx将丢弃请求中的参数。
分类:
其他好文 时间:
2014-07-08 08:54:01
阅读次数:
683