本笔记以orcal数据库为例,其它数据库略有不同.
一、写子句顺序
Select [ALL | DISTINCT] column_name [, column_name]...
From {table_name | view_name}
[, {table_name | view_name}]...
[Where sear...
分类:
数据库 时间:
2015-04-30 14:19:48
阅读次数:
196
Table: Person
+-------------+---------+
| Column Name | Type |
+-------------+---------+
| PersonId | int |
| FirstName | varchar |
| LastName | varchar |
+-------------+---------+
Per...
分类:
其他好文 时间:
2015-04-30 14:18:10
阅读次数:
93
FF中时不时报这个错, 就近段做项目来看, 一般是我通过 jquery获取form中的参数(或直接获取参数,并通过ajax进行异步请求的时候,如果有错,就抱该错误! 而对应的, 如果在 Google chrome中, 则会报: Uncaught SyntaxError: Unexpected ...
分类:
Web程序 时间:
2015-04-30 12:11:08
阅读次数:
341
--修改表添加列alter table biao add sex varchar(20)--修改表里,增加性别一行alter table biao drop column sex --从表里吧性别一行删除——--下划线只代表一个字符,在范围很广的范围中可以使--聚合函数count(),min(),m...
分类:
数据库 时间:
2015-04-30 10:34:49
阅读次数:
137
1、错误描述
严重: Parse Fatal Error at line 41 column 24: 元素类型 "url-pattern" 必须由匹配的结束标记 "" 终止。
org.xml.sax.SAXParseException; systemId: jndi:/localhost/SpringMVCH/WEB-INF/web.xml; lineNumber: 41; columnNumb...
分类:
Web程序 时间:
2015-04-29 23:29:53
阅读次数:
529
在eclipse中出现这错误,但在myeclipse中灭有
/WEB-INF/page/mailWrite.jsp (line: 1, column: 82) The JSP specification requires that an attribute name is preceded by whitespace
问题出在一个空格
1对
2报错
2属性之间要用空格...
分类:
Web程序 时间:
2015-04-29 15:04:55
阅读次数:
204
Givenapositiveinteger,returnitscorrespondingcolumntitleasappearinanExcelsheet.Forexample:1->A
2->B
3->C
...
26->Z
27->AA
28->ABpublicclassSolution{publicStringconvertToTitle(intn){Stringc="";while(n>0){intx=n%26;if(x==0){c=String.valueO..
分类:
其他好文 时间:
2015-04-29 07:23:44
阅读次数:
118
CSS样式命名整理 页面结构 容器: container/wrap整体宽度:wrapper页头:header内容:content页面主体:main页尾:footer导航:nav侧栏:sidebar栏目:column中间内容:center 导航 导航:nav导航:mainbav/globalnav子导...
分类:
Web程序 时间:
2015-04-28 22:31:31
阅读次数:
129
按照某列的值拆分data.frameMy data is like this (for example):ID Rate State1 24 AL2 35 MN3 46 FL4 34 AL5 78 MN6 99 FLI want to split the ...
分类:
其他好文 时间:
2015-04-28 20:17:43
阅读次数:
219
<?php$conn=mysql_connect("localhost","root","");//$result2=mysql_db_query("hello_world","insertintohello_tablevalues(‘add1‘,8)",$conn);//$result2=mysql_db_query("hello_world","deletefromhello_tablewherehello_column=‘add1‘",$conn);$resultNum=mysql_db_quer..
分类:
Web程序 时间:
2015-04-28 18:55:17
阅读次数:
197