分类：电脑/网络-程序设计
问题：sql查询的问题，求解Thefollowingistherela 
The follog is the relational database schema for Northwoods UniversityStudent Registration Database:Write a SQL query to find all students’ first and last name and their grade for the coursenamed as Database Programming.写出sql查询语句：查找course name为Database Programming的学The follog is the relational database schema for Northwoods UniversityStudent Registration Database:Write a SQL query to find all students’ first and last name and their grade for the coursenamed as Database Programming.写出sql查询语句：查找course name为Database Programming的学生的first name,last name和grade(参看附件中的图）
回答：select S_LAST,S_FIRST,GRADE FROM STUDENT S,ENROLLMENT E 
WHERE S.S_ID=E.S_ID 
AND E.C_SEC_ID=COURSE SECTION.C_SEC_ID
AND COURSE SECTION.COURSE_ID IN
(SELECT C.COURSE_ID FROM COURSE C WHERE C.COURSE_NAME='Database Programming')