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 >= '2019-07-10 12:45:26' and cash.sms_check='N' and info.regdate between '2020-07-08 23:15:26' and '2020-07-08 23:45:26'