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
相关文章
相关标签/搜索