SELECT T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num WHERE T2.enroll_grade  =  'A' AND T2.class_code  =  10018
What is the last name of the student who received an A in the class with the code 10018?
SELECT T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num WHERE T2.enroll_grade = 'A ' AND T2.class_code = 10018
select t1 . stu_lname from student as t1 join enroll as t2 on t1 . stu_num = t2 . stu_num where t2 . enroll_grade = value and t2 . class_code = value
What is the last name of the student who received an A in the class with the code 10018 ?