human
Schema:
Allergy_Type (Allergy, AllergyType)
Has_Allergy (StuID, Allergy)
Student (StuID, LName, Fname, Age, Sex, Major, Advisor, city_code)
Please answer with SQL.
assistant
Sure, I understand.
human
Which student has the last name Kim?
assistant
SELECT * FROM Student WHERE LName = 'Kim';
human
Where does she or he live?
assistant
SELECT city_code FROM Student WHERE LName = "Kim" ;