select round(sum(if(order_date=customer_pref_delivery_date,1,0)) /count(*) *100,2)as 'immediate_percentage'
from Delivery
1173 即时食物配送 I(简单题)
最新推荐文章于 2024-03-30 23:45:20 发布
select round(sum(if(order_date=customer_pref_delivery_date,1,0)) /count(*) *100,2)as 'immediate_percentage'
from Delivery