You can use mysql's group by username to perform classification and aggregation, count the summary results (orderID), and limit the create_time to within 1 hour. I don't know what field you use for create_time, whether it is an unsigned integer or a date. Time type, their definition methods are different, please search by yourself.
You can use mysql's group by username to perform classification and aggregation, count the summary results (orderID), and limit the create_time to within 1 hour. I don't know what field you use for create_time, whether it is an unsigned integer or a date. Time type, their definition methods are different, please search by yourself.