码迷,mamicode.com
首页 >  
搜索关键字:student    ( 6827个结果
【SSH三大框架】Hibernate基础第十二篇:load()懒加载分析以及一对一、一对多、多对一、多对多懒加载的分析
一、懒加载的定义: 懒加载:在WEB应用程序中,经常会需要查询数据库,系统的响应速度在很大程度上是与数据库交互的响应。因此,如果能够优化与数据库的交互速度,则能够大大提高WEB应用的响应速度。 例如:当有一个Student类和一个Teacher类。当我们加载一个学生的所有信息,包括:学号,姓名等属性后,此时Student类中的Teacher类型的属性为null,当我们需要知道这个Student...
分类:Web程序   时间:2014-11-27 18:29:32    阅读次数:214
聚合函数、数学函数、日期时间函数
ggregate Functions(Transact-SQL)聚合函数AVG:求平均分COUNT:计算个数MAX:求最大值MIN:求最小值SUM:求和求平均身高select AVG (shengao) from student as:添加的列名select AVG (shengao) as 平均身...
分类:其他好文   时间:2014-11-27 12:26:09    阅读次数:420
my work
My undergraduate major is Management, but my master major is Competer, from to arts student to science student. So I have dual character. I am not onl...
分类:其他好文   时间:2014-11-27 12:17:50    阅读次数:96
20141125
-聚合函数 (1)count(*)求个数 (2)avg(*)求平均数 (3)max(*)求最大值 (4)min(*)求最小值 (5)sum(*)求和 (1)select(select COUNT(*) from student where sex='男'and classcode='20050102...
分类:其他好文   时间:2014-11-27 09:11:34    阅读次数:223
在增加外键的时候碰到的问题
在mysql初学当中,碰到了这个问题。现有两张表,student和class。student表中有id为主键,name和classid,class表中有id为主键,name,准备设置classid为外键约束。语句如下altertablestudentaddconstraintfk_stu_classidforeignkey(classid)referencesclass(id);经检查语句没..
分类:其他好文   时间:2014-11-27 08:04:49    阅读次数:101
复习下C 链表操作(双向链表)
双向链表 创建、删除、反转、插入 //struct#include #include #include /**********************双向链表************************************/typedef struct Student_Double{ ...
分类:其他好文   时间:2014-11-26 18:35:52    阅读次数:196
Gson转换器 android
引入gson包//Gson解析.封装服务器返回json结果 Gson gson = new Gson();//1、对象转string Student stu = new Student(); stu.setStudentId(333); st...
分类:移动开发   时间:2014-11-26 16:09:55    阅读次数:244
If We Were a Child Again
Description The Problem   The first project for the poor student was to make a calculator that can just perform the basic arithmetic operations.   But like many other university students he d...
分类:其他好文   时间:2014-11-25 23:39:30    阅读次数:226
2014/11/25 函数
一、聚合函数(Aggregate Functions)AVG:求平均 count:计算个数 MAX:最大值MIN:最小值SUM:求和例:select count(*) as 人数 from student--as 人数,列名显示为“人数”select(select count (*) from st...
分类:其他好文   时间:2014-11-25 22:46:44    阅读次数:178
java基础进阶:SQL的运用
SQL的基础的运用 /* --1.学生表 Student(S,Sname,Sage,Ssex) --S 学生编号,Sname 学生姓名,Sage 出生年月,Ssex 学生性别 --2.课程表 Course(C,Cname,T) --C --课程编号,Cname 课程名称,T 教师编号 --3.教师表...
分类:数据库   时间:2014-11-24 22:21:08    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!