查询选修了课程编号为"0002"的学生的学号和姓名,以下 SQL 语句哪个是错误的()
A.
SELECT 学号,姓名 FROM student_info where学号 in (select 学号 from grade where 课程编号 = ’0002‘)
B.
. select student_info.学号,student_info.姓名 from student_info,grade where student_info.学号= grade.学号 and 课程编号 =’0002‘)
C.
. SELECT student_info.学号,student_info.学号=grade.学号 where grade.课程编号= ’0002‘
D.
SELECT 学号,姓名 FROM student_info where 学号 in (select 学号 from grade where 课程编号 = ’0002‘)