初学者求助
sql吧
全部回复
仅看楼主
level 4
dcrdsz
楼主
可以帮忙看一下第25题吗 谢谢老师们 不知道where里面要怎么写
2022年10月12日 08点10分
1
level 4
mus☜☞
选课表和学生表内连接(学号关联),汇总数据条数是不是就是学生总数了呢?不太确定哈,因为看不到具体数据。
2022年10月12日 08点10分
4
dcrdsz
感谢🙏没有想到要用表连接
2022年10月12日 09点10分
level 1
541990000
看不到表
2022年10月12日 09点10分
5
dcrdsz
图可能被吞了▌°Д °;)っ 谢谢!
2022年10月12日 09点10分
level 13
永远的Key社
select count(*) from 学生表
where exists(select * from 选课表 where 学生表.学号=选课表.学号)
2022年10月13日 09点10分
6
level 13
永远的Key社
select count(distinct 学号)from 学生表 inner join 选课表
这样也行
2022年10月13日 09点10分
7
dcrdsz
谢谢🙏🙏我学习一下
2022年10月13日 10点10分
1