Task: Text to Code
Input (English): Step 1: For each row in Apartments table, find the corresponding rows in Apartment_Facilities table.
Step 2: find the number of rows of each value of Apartments's apt_id in the results of step 1.
Step 3: find facility_code in the results of step 1 whose corresponding value in step 2 is greater than 4
Output (English): SELECT T2.facility_code FROM Apartments AS T1 JOIN Apartment_Facilities AS T2 ON T1.apt_id = T2.apt_id GROUP BY T1.apt_id HAVING Count ( * ) > 4