第一次尝试select后面加子查询。。不知道可不可以,运行居然过了。。
select
count(*),
count(score),
(
select
count(distinct exam_id)
from
exam_record
where
score is not null
)
from
exam_record

第一次尝试select后面加子查询。。不知道可不可以,运行居然过了。。
select
count(*),
count(score),
(
select
count(distinct exam_id)
from
exam_record
where
score is not null
)
from
exam_record