MySql 部分字段去重

select * from personal_question_answer where answer_id in (
  select min(answer_id) from personal_question_answer where family_member_id='csaads16asadafds156aa' group by question_code
) ORDER BY question_code
原文地址:https://www.cnblogs.com/yakyaker/p/12133357.html