What was the average duration of trips in zip code 94103?
select avg(duration) from trip where zip_code = 94103
Which ids of trips lasted at least that long?
select id from trip where duration >= (select avg(duration) from trip where zip_code = 94103)