授权和查询

 

 

 

授权

 

120

Gaoshu

2

32

2

111

English

2

30

3

520

Tiyu

2

32

3

112

HTML

2

32

3

1  查询 高数的学分是多少? 
select * from kechengbiao;
select  XS from kechengbiao where KCM='Gaoshu'; 
2  查询 课程号为110的课程是?
select KCH from kechengbiao where KCH='110';
3  查询 英语的学分是多少?
select XF from kechengbiao where KCM='英语';
4 查询所有课程和其对应的学分 ?
select KCM ,XF from kechengbiao;
5  查询那个和所有课程学分不一样的课程?
select KCM ,XF from kechengbiao;
select KCM from kechengbiao where XF=2;

 

posted @ 2024-04-09 22:22  困到很想醒  阅读(4)  评论(0编辑  收藏  举报