摘要:
sp_help 图书表 sp_help 借阅表 sp_help 读者表 select * from 读者表 select * from 借阅表 select * from 图书表 delete 图书表 where 图书号='P913.2/530' update 图书表 set 单价=40 ,出版社='电子工业出版社' where 图书号='TP316/... 阅读全文
摘要:
declare @todayDate char(10),@dispStr varchar(20) set @todayDate=getdate() set @dispStr='今天的日期为' select @dispStr+@todayDate declare @学号 varchar(10),@姓名 varchar(50),@班级 varchar(50) declare @所在系 var... 阅读全文
摘要:
create nonclustered index idx_student_name on student(student_name desc) go create nonclustered index idx_student_sexbirthday on student(student_sex desc,student_birthday) with fillf... 阅读全文
摘要:
create procedure UP_TEACHER_INFO as select * from Teacher where Teacher_Sex='男' go create procedure UP_course_info @scname varchar(30) as select Student.Student_No,Student_Name,Course_Name,SelectCou... 阅读全文
摘要:
use StudentManagement go create view view_course_credits as select Course_No,Course_Name,Course_Credits from Course where Course_Credits=4 go create view view_Is_Student ... 阅读全文
摘要:
select * from 图书表 select 图书号,书名,作者,出版社,打折价=单价*0.7 from 图书表 select distinct 读者号 from 借阅表 select * from 图书表 where 出版社='电子工业出版' or 出版社='科学出版社' or 出版社='人民邮电出版社' select 读者号,姓名 from 读者表 where ... 阅读全文
摘要:
use StudentManagement go create view view_course_credits as select Course_No,Course_Name,Course_Credits from Course where Course_Credits=4 go create view view_Is_Student ... 阅读全文
摘要:
创建数据库: 阅读全文