我喜欢(MS SQL)中的这种方法:
SELECt Convert(char(8), LogDate, 112), count(distinct RefundId)FROM RefundProcessingGROUP BY Convert(char(8), LogDate, 112)

我喜欢(MS SQL)中的这种方法:
SELECt Convert(char(8), LogDate, 112), count(distinct RefundId)FROM RefundProcessingGROUP BY Convert(char(8), LogDate, 112)