Database: bike_1
Question: What are the ids of stations that are located in San Francisco and have average bike availability above 10.
SQL:
SELECT id FROM station WHERE city  =  "San Francisco" INTERSECT SELECT station_id FROM status GROUP BY station_id HAVING avg(bikes_available)  >  10