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 number of rows of each value of station_id in the results of step 1.
Step 3: find id, name in the results of step 1 whose corresponding value in step 2 is greater than 12
Output (English): SELECT T1.id , T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING Count ( * ) > 12