年月按出发时间?里程怎么计算
select a.OCAR_NAME,date_format(a.出发时间,'%Y.%m'),SUM(A.OCU_E)
from BL_OA_CAR_USE a
group by a.OCAR_NAME,date_format(a.出发时间,'%Y.%m')