select count(ui.uid) - count(ol.uid) as cnt from user_info as ui left join order_log as ol on ui.uid = ol.uid