Wesley13 Wesley13
2年前
MySQL分组并取每组中create_time字段的最大值, 及这条记录的所有值(理解groupId, 很容易误导)
invest\_order\_code排查单号求获取排查单号相同数大于1的排查单号SELECTinvest_order_codeFROMt_invest_orderGROUPBYinvest_order_codeHAVINGCOUNT(invest_order_code)1求排查单未PC2019042909252998