select count(distinct u.uid)-count(distinct o.uid) cnt
from user_info u
left join order_log o
on u.uid = o.uid