表scores(name,sex,score),分别获取男女前三名学生姓名。建立表格:createtablescores(namevarchar2(8),sexvarchar2(1),scorenumber(3,0))插入学生成绩insertintoscores(name,sex,score)values(‘男A‘,‘1‘,100);insertintoscores(name,sex,score)values(‘男B‘,‘1‘,90);insertint..
分类:
数据库 时间:
2014-09-12 15:28:14
阅读次数:
264
style.xml<resources><!--Baseapplicationtheme,dependentonAPIlevel.ThisthemeisreplacedbyAppBaseThemefromres/values-vXX/styles.xmlonnewerdevices.--><stylename="AppBaseTheme"parent="android:Theme.Light"><!--Themecustomizationsavailableinnew..
分类:
移动开发 时间:
2014-09-12 15:26:34
阅读次数:
210
先看看官方手册的说明吧:
pairs (t)If t has a metamethod __pairs, calls it with t as argument and returns the first three results from the call.
Otherwise, returns three values: the next function, the table t, a...
分类:
其他好文 时间:
2014-09-12 01:16:42
阅读次数:
304
Input::old('username')Querying using raw SQL statements$sql=" insert into shows(name,rating,actor) VALUES(?,?,?)"; $data1 = array('Doctor Who',...
分类:
其他好文 时间:
2014-09-11 22:14:42
阅读次数:
225
Sorting It All Out
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 28055
Accepted: 9689
Description
An ascending sorted sequence of distinct values is one ...
分类:
其他好文 时间:
2014-09-11 21:00:22
阅读次数:
168
准备工作:create table tx( id int primary key, c1 char(2), c2 char(2), c3 int ); insert into tx values(1 ,'A1','B1',9), (2 ,'A2','B1',7), (3 ,'A3','B1',...
分类:
数据库 时间:
2014-09-11 18:43:12
阅读次数:
315
原来用别的工具,
一个盆友推荐我用这个,发现确实很方便,
比如插入语句
INSERT INTO DEPARTTABLE ("D_ID", "D_NAME", "D_LEADERDEPART", "D_ADMINISTERAREA", "D_ORDER", "D_ADDRESS" ) VALUES ( 7, '辽南', 1, '东北区域', NULL, NULL),( 8, '辽西', 1, '东北区域', NULL, NULL);...
分类:
移动开发 时间:
2014-09-11 11:11:01
阅读次数:
214
Oracle一、insert allinto students values ('b10050501','zl')into students values ('b10050502','zjw')select * from dual;二、insert into studentsselect ‘b100...
分类:
数据库 时间:
2014-09-11 10:55:51
阅读次数:
180
1.数组函数//作用:提供了很多官方写的很多有用的代码段,提高编写速度1)数组的键值操作函数array_values();//获取数组中的值array_keys();//获取数组中的键in_array();//检查一个值是否在数组中array_flip();//键和值对调array_reverse(...
分类:
Web程序 时间:
2014-09-11 09:37:51
阅读次数:
310
C#的SESSION和其它程序中的SESSSION可能有一点的不同,下面讲下哪飞网程序员遇到的一个地方使用SESSION的问题。希望对大家有所帮助 一、在页面中用SESSION,存值session["abc"]=values,读取值string abc=session["abc"].tostrin....
分类:
其他好文 时间:
2014-09-11 09:30:21
阅读次数:
206