CREATE TABLE GRADECONVERSION (gradepoint NUMBER, lettergrade VARCHAR2)
CREATE TABLE ENROLLED_IN (Grade VARCHAR2, StuID VARCHAR2)
CREATE TABLE STUDENT (city_code VARCHAR2, StuID VARCHAR2)

What is the maximum and minimum grade point of students who live in NYC?
SELECT MAX(T2.gradepoint), MIN(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.city_code = "NYC"
SELECT MAX("T2"."gradepoint"), MIN("T2"."gradepoint") FROM "ENROLLED_IN" "T1" JOIN "GRADECONVERSION" "T2" ON "T1"."Grade" = "T2"."lettergrade" JOIN "STUDENT" "T3" ON "NYC" = "T3"."city_code" AND "T1"."StuID" = "T3"."StuID"