select
count(distinct uid)
from
(select
u.uid
from order_log o
right join user_info u on o.uid=u.uid
where order_id is null)t;

select
count(distinct uid)
from
(select
u.uid
from order_log o
right join user_info u on o.uid=u.uid
where order_id is null)t;