码迷,mamicode.com
首页 >  
搜索关键字:student    ( 6827个结果
表连接Join
--表连接Join--使用子查询select StudentNo,StudentName,(select classname from Classes where ClassId=Student.ClassId) from Student--使用from多表的方式select Student.Stu...
分类:其他好文   时间:2015-03-19 23:44:31    阅读次数:217
子查询
--子查询:一个查询中包含着另外一个查询,使用()包含子查询--两种子查询:--独立子查询:子查询是一个可以独立运行的完整的查询.在执行的时候先执行子查询,再执行父查询--查询 比 周治明 大的所有学员信息select BornDate from Student where StudentName=...
分类:其他好文   时间:2015-03-19 23:36:54    阅读次数:123
数学之路-sas备忘(12)
data student1;input name$ age score;datalines;wangwu 29 68lisi 30 85wangxi 28 79lixingxun 32 91wufang 27 56;run;data student;set student1;run;data student2;input name$ age score;datalines;wangwu 29 88...
分类:其他好文   时间:2015-03-19 14:56:08    阅读次数:124
12级软件测试课程博客汇总
student_idnametgrademajortclasscnblog3012218052鲍佳思2012软件工程1http://www.cnblogs.com/baobaoni/3012218053蔡育锋2012软件工程1http://home.cnblogs.com/u/ccvamy/30.....
分类:其他好文   时间:2015-03-18 23:19:12    阅读次数:465
sql case when then else end
我们都知道SQL中适用case when then来转化数据库中的信息 比如 select (case sex when 0 then '男' else '女' end) AS sex from studentInfo,那么在集合函数中它有什么用呢?假设数据库有一张表名为student的表。如果现在...
分类:数据库   时间:2015-03-18 17:52:48    阅读次数:173
List<?> 转换成List<Student>
String sql = "select * from student"; list = this.TreeService.getTreeList(sql); //slist = dwg(list); for(int i=0; i<list.size(); i++){ Student student =new Student(); ...
分类:其他好文   时间:2015-03-18 15:57:57    阅读次数:252
Android数据存储——SQLite数据库
先来看下数据库语句: ORM:关系对象映射 增加数据: ContentValues values = new ContentValues(); values.put("name", "小丽"); values.put("phone", "110"); mDB.insert("student",//表名 null, //规避插入语句的错误...
分类:移动开发   时间:2015-03-18 12:24:18    阅读次数:168
14152学年C#程序设计语言与.Net框架基础课程之学生blog名单
14152学年C#程序设计语言与.Net框架基础课程之学生blog名单 student_idnametgrademajortclassdirectionBlogs3013211039刘畅2013软件工程3www.cnblogs.com/tju-liuchang3013218046陈晓龙2013软.....
分类:编程语言   时间:2015-03-18 11:50:29    阅读次数:397
第二周 程序阅读
#include #include using namespace std; class Student { private: int num; char name[20]; char sex; public: void set_data(int n, char *p,char s) { num=n; ...
分类:其他好文   时间:2015-03-18 10:45:16    阅读次数:130
1. SQL -- 创建数据库和表
(1)创建数据库和相应的表createdatabasestudent--创建数据库gousestudentgo-----------------------------创建学生表------------------------ifobject_id(‘student_table‘)isnotnulldroptablestudent_tablecreatetablestudent_table(studentIDvarchar(20)primarykey,snamevarc..
分类:数据库   时间:2015-03-18 06:38:56    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!