数据库原理及应用孟彩霞版实验3~8 - 图文

2026/1/19 5:08:28

SELECT Sno,Grade FROM 学生选课表SC WHERE Cno='1'

ORDER BY Grade DESC;

SELECT *

FROM 学生表Student

ORDER BY Sdept,Age DESC;

1.2 1.2-1 Select*

from Customers where City='上海';

1.2-2

Select goodsname,storage,price,price*0.75 Discount from goods order by price;

1.2-3

Select goodsid,goodsname,price from goods

where goodsname like'%computer%';

1.2-4

Select storage,goodsname,price from goods

where storage between 100and 500;

1.3.1

select sno from SPJ where jno='J1';

3.2

select sno from SPJ

where jno='J1'and pno='P1';

4. 2.1.1

SELECT 学生表Student.*,学生选课表SC.*

FROM 学生表Student,学生选课表SC

WHERE 学生表Student.Sno = 学生选课表SC.Sno;

2.1.2

SELECT 学生表Student.Sno,Sname,Sex,Age,Sdept,Cno,Grade FROM 学生表Student,学生选课表SC

WHERE 学生表Student.Sno = 学生选课表SC.Sno;

2.1.3

SELECT First.Cno,Second.Cpno

FROM 课程表Course First,课程表Course Second WHERE First.CPno = Second.Cno;

2.1.4

SELECT 学生表Student.Sno,Sname,Sex,Age,Sdept,Cno,Grade FROM 学生表Student LEFT OUTER JOIN学生选课表SC


数据库原理及应用孟彩霞版实验3~8 - 图文.doc 将本文的Word文档下载到电脑
搜索更多关于: 数据库原理及应用孟彩霞版实验3~8 - 图文 的文档
相关推荐
相关阅读
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 10

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219