SELECT info.rsid, info.now_date, man.name, cash.totalmoney,cash.bankname, cash.orignmoney, man.hp, cash.cashtype, info.regdate, cash.sms_check FROM reserv_info as info, reserv_man as man, reserv_cash as cash where info.status like 'AM%' and info.rsid=man.mid and man.mid=cash.cid and cash.cashtype != 'mbank' and info.regdate >= '2023-12-22 01:40:23' and cash.sms_check='N' and info.regdate between '2024-12-20 12:10:23' and '2024-12-20 12:40:23'