Task: Text to Code
Input (English): What are the ids of stations that are located in San Francisco and have average bike availability above 10.
Output (English): SELECT id FROM station WHERE city  =  "San Francisco" INTERSECT SELECT station_id FROM status GROUP BY station_id HAVING avg(bikes_available)  >  10