谢谢,我已经做出来了,select count(*) from (select * from user_order group by user_id having min(create_date) = '2018-05-22') as a