select docno ,COUNT(*) from sk_dan_yk  group by docno having COUNT(*) > 1
查询多次一个订单多次付款的情况。聚合函数