1、使用distinct查询所有不重复的记录2、创建数据表相同结构的临时表,将第一步的数据复制进去
create temporary table if not exists student_temp as (select distinct(name), sex
from student);3、tru...
分类:
数据库 时间:
2014-06-13 06:04:01
阅读次数:
290
JavaScript获取地址栏中的参数
1、获取地址栏中的参数
(1)若地址栏中的地址是:
http://10.124.36.56:8080/CMOD/index.jsp?name=you&password=123456&type=student
(2)获取地址栏中的最后一个参数type
2、实现的JS
function getAddressURLPar...
分类:
编程语言 时间:
2014-06-11 07:01:30
阅读次数:
288
一、表
学生表
CREATE TABLE `t_student` (
`stuNum` int(11) NOT NULL auto_increment,
`stuName` varchar(20) default NULL,
`birthday` date default NULL,
PRIMARY KEY (`stuNum`)
) ENGINE=In...
分类:
数据库 时间:
2014-06-11 00:22:53
阅读次数:
249
一、表学生表CREATETABLE`t_student`(`stuNum`int(11)NOTNULLauto_increment,`stuName`varchar(20)defaultNULL,`birthday`datedefaultNULL,PRIMARYKEY(`stuNum`))ENGINE=InnoDBDEFAULTCHARSET=utf8学生分数表CREATETABLE`t_stu_score`(`id`int(11)NOTNULLauto_increment,`stuNu..
分类:
数据库 时间:
2014-06-10 22:55:29
阅读次数:
372
SQL语句创建数据库:create table student(id int not null
primary key,number nvarchar not null,name nvarchar not null,brithday DateTime
default getdate(), adres...
分类:
数据库 时间:
2014-06-10 19:48:24
阅读次数:
284
1、 查询Student表中的所有记录的Sname、Ssex和Class列。select
sname,ssex,class from studentLinq: from s in Students select new { s.SNAME,
s.SSEX, s.CLASS }Lambda: Stud...
分类:
数据库 时间:
2014-06-09 22:04:17
阅读次数:
456
T-Shirt GumboTime Limit:1000MSMemory
Limit:65536KTotal Submissions:2571Accepted:1202DescriptionBoudreaux and
Thibodeaux are student volunteers for thi...
分类:
其他好文 时间:
2014-06-09 19:43:47
阅读次数:
255
注释掉是对的在for中
student.setClass(NULL);这样接触也是错误的,要从class那一端接触关系,不能反之。因为student从class那里而来的,不能自己接触关系,要靠class
分类:
其他好文 时间:
2014-06-09 19:21:18
阅读次数:
182
Student.java 1 package
cn.itcast.hiberate.sh.domain; 2 3 import java.util.Set; 4 5 public class Student
{ 6 private Long sid; 7 private Stri...
分类:
系统相关 时间:
2014-06-09 15:58:47
阅读次数:
421
DescriptionConsider a group of N students and P
courses. Each student visits zero, one or more than one courses. Your task is to
determine whether it ...
分类:
其他好文 时间:
2014-06-09 15:36:50
阅读次数:
239