摘要: 分组查最新条记录 select a.cur_id,a.old_exchange_rate,a.new_exchange_rate from fc_excrate_adjust a inner join (select cur_Id,max(pre_time)as preTime from fc_ex 阅读全文
posted @ 2020-12-22 09:44 凉了记忆 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 单字段去重复记录select * from fbs_corp_budget b WHERE b.corp_id IN ( SELECT d.corp_id FROM fbs_corp_budget d GROUP BY d.corp_id HAVING COUNT(d.corp_id) > 1) A 阅读全文
posted @ 2020-12-22 09:43 凉了记忆 阅读(1474) 评论(0) 推荐(0) 编辑