Task: Text to Code
Input (English): Step 1: For each row in station table, find the corresponding rows in status table.
Step 2: find the average bikes_available of each value of station_id in the results of step 1.
Step 3: find name, id in the results of step 1 whose corresponding value in step 2 is greater than 14
Output (English): SELECT T1.name , T1.id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING Avg ( T2.bikes_available ) > 14