SELECT CAST(`a`.`selldate` AS DATE) AS `regdate`, `a`.`market` AS `market`, `a`.`user_seq` AS `user_seq`, COUNT(0) AS `complete`, ROUND(SUM(`a`