摘要: create database task go use task create table student ( --学号 sno varchar(3) not null primary key, --姓名 sname varchar(4) not null, --性别 ssex varchar(2) not null, --出生年月 ... 阅读全文
posted @ 2014-09-08 23:41 幻影K 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 等值连接查询 用where子句指定连接条件 例:查询“张旭“教师任课的学生成绩 select score.* from score,course,teacher where score.cno=course.cno and course.tno=teacher.tno and tname='张旭' 阅读全文
posted @ 2014-09-08 22:23 幻影K 阅读(194) 评论(0) 推荐(0) 编辑