ASS差分データメール送信

SELECT ASSD.*,ASI.staff_no,ASI.staff_mail,ASI.staff_name1,ASI.staff_name2 FROM ASS_STAFF_BOOKING_DATA ASSD,ASS_STAFF_INF ASI WHERE ASSD.staff_booking_save_date>= '2024-04-19 17:21:42' AND ASSD.staff_booking_save_date<= '2024-04-19 17:27:41' AND ASSD.staff_no = ASI.staff_no ORDER BY ASSD.staff_no,ASSD.staff_class_datearray(1) { [81]=> array(2) { [0]=> array(13) { ["staff_booking_no"]=> string(4) "1641" ["staff_no"]=> string(2) "81" ["staff_class_date"]=> string(10) "2024-05-11" ["staff_class_start_time"]=> string(5) "09:00" ["staff_class_end_time"]=> string(5) "13:00" ["staff_biko"]=> string(0) "" ["staff_guest_name"]=> string(0) "" ["staff_booking_save_date"]=> string(19) "2024-04-19 17:24:16" ["staff_time_waku"]=> string(0) "" ["staff_mail"]=> string(22) "makopondai08@gmail.com" ["staff_name1"]=> string(6) "関山" ["staff_name2"]=> string(3) "諒" ["data_sa"]=> int(1) } [1]=> array(13) { ["staff_booking_no"]=> string(4) "1642" ["staff_no"]=> string(2) "81" ["staff_class_date"]=> string(10) "2024-05-25" ["staff_class_start_time"]=> string(5) "09:00" ["staff_class_end_time"]=> string(5) "13:00" ["staff_biko"]=> string(0) "" ["staff_guest_name"]=> string(0) "" ["staff_booking_save_date"]=> string(19) "2024-04-19 17:24:16" ["staff_time_waku"]=> string(0) "" ["staff_mail"]=> string(22) "makopondai08@gmail.com" ["staff_name1"]=> string(6) "関山" ["staff_name2"]=> string(3) "諒" ["data_sa"]=> int(1) } } }