Task: Text to Code
Input (English): Step 1: find the number of rows of each value of apt_booking_id in Apartment_Bookings table.
Step 2: find booking_start_date, booking_end_date in Apartment_Bookings table whose corresponding value in step 1 is greater than 2
Output (English): SELECT booking_start_date , booking_end_date FROM Apartment_Bookings GROUP BY apt_booking_id HAVING Count ( * ) > 2