CREATE TABLE student (stuid VARCHAR(255), lname VARCHAR(255)); CREATE TABLE dorm (dormid VARCHAR(255)); CREATE TABLE lives_in (dormid VARCHAR(255), stuid VARCHAR(255)); CREATE TABLE has_amenity (dormid VARCHAR(255), amenid VARCHAR(255)); CREATE TABLE dorm_amenity (amenity_name VARCHAR(255), amenid VARCHAR(255))
Find the name of amenities of the dorm where the student with last name Smith is living in.
    
SQL: SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid JOIN lives_in AS T4 ON T4.dormid = T1.dormid JOIN student AS T5 ON T5.stuid = T4.stuid WHERE T5.lname = 'Smith'