-- Database schema
| Person : name [ TEXT ] primary_key , age [ INT ] , city [ TEXT ] , gender [ TEXT ] , job [ TEXT ] | PersonFriend : name [ TEXT ] PersonFriend.name = Person.name , friend [ TEXT ] PersonFriend.friend = Person.name , year [ INT ] |
-- -- What are the names of all friends who are from New York?

SELECT T2.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T1.city  =  'new york city';