SELECT COUNT(DISTINCT StuID) FROM ENROLLED_IN WHERE Grade  =  "B"
How many students have had at least one "B" grade?
SELECT COUNT ( DISTINCT StuID ) FROM ENROLLED_IN WHERE Grade = `` B ''
select count ( distinct stuid ) from enrolled_in where grade = value
How many students have had at least one `` B '' grade ?