4、地区数据下载地址http://download.csdn.net/detail/u011064186/76900893、ajax 部分public function actionAjax()
{
$id = $_GET['pid'];
$sql = "select code,name from area where parentId = $id...
分类:
其他好文 时间:
2015-06-11 17:10:12
阅读次数:
236
SQL> select * from v$version where rownum=1;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Prod...
分类:
其他好文 时间:
2015-06-11 14:45:08
阅读次数:
152
A peak element is an element that is greater than its neighbors.Given an input array where num[i] ≠ num[i+1], find a peak element and return its index.The array may contain multiple peaks, in that case...
分类:
其他好文 时间:
2015-06-11 13:04:38
阅读次数:
115
SQL表连接查询(inner join、full join、left join、right join)表的数据有:一、内连接-inner jion :最常见的连接查询可能是这样,查出学生的名字和成绩:select s.name,m.mark from student s,mark m where s...
分类:
数据库 时间:
2015-06-11 12:28:29
阅读次数:
235
dfs.name.dirDetermines where on the local filesystem the DFS name node should store the name table(fsimage). If this is a comma-delimited list of dir....
分类:
其他好文 时间:
2015-06-11 06:55:03
阅读次数:
129
SQL> select * from v$version where rownum=1;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Prod...
分类:
其他好文 时间:
2015-06-10 22:41:36
阅读次数:
141
loadView;This is where subclasses should create their custom view hierarchy if they aren't using a nib. Should never be called directly.这是当他们没有正在使用nib...
分类:
其他好文 时间:
2015-06-10 20:57:00
阅读次数:
174
ON 、WHERE、HAVING都能通过限制条件筛选数据,但他们的使用及其不同。下面我们来分析三者之间的区别。1. ON 和WHERE 所有的查询都回产生一个中间临时报表,查询结果就是从返回临时报表中得到。ON和WHERE后面所跟限制条件的区别,主要与限制条件起作用的时机有关,ON根据限制条件对数据...
分类:
其他好文 时间:
2015-06-10 18:50:40
阅读次数:
116
JOIN 在内连接时,可以不使用,其它类型连接必须使用。如SELECT * FROM TABLEA INNER JOIN TABLEB ON A.ID=B.ID可以这样写:SELECT * FROM TABLEA,TABLEB WHERE A.ID=B.IDJOIN 有以下几种类型:INNER(内连...
分类:
数据库 时间:
2015-06-10 17:15:00
阅读次数:
139
1. 做一个3*3的加法表SQL> select a||'+'||b||'='||(a+b) from (select rownum a from all_objects where rownum0 and b.n0 and c.n0 and d.n0;6.每个雇员的薪水(SAL)都对应到一个薪水级...
分类:
数据库 时间:
2015-06-10 15:23:55
阅读次数:
153