Cafés within 500 m of each Yamanote line station

Lesson

Cafés within 500 m of each Yamanote line station

The Spatial SQL book's lesson question, answered on OpenStreetMap: every Yamanote line station with the cafés within 500 m of it.

Question
How many cafés lie within 500 m of each Yamanote line station?
Place
Tokyo
Result
30 Yamanote line stations, each with its cafés within 500 m
Updated
Method
Stations joined to cafés within 500 m (geography, so metres); stations with none still appear.
Sources