SELECT
id,business_id,
max( allot_number )
FROM
( SELECT id,allot_number,create_time,business_id FROM bus_allot_record ORDER BY business_id, create_time DESC LIMIT 100000000 ) a
WHERE
create_time >= ‘2019-10-21 10:20:00’
AND create_time <= ‘2019-10-21 13:30:00’ and allot_number <> 1
GROUP BY
business_id ;
mysql没有mysql库,mysql微课版,mysql 怎么查看字段描述,mysql端口为何是3306,mysql 报表收集,mysql单表支持多少条数据库