title: Select specif value in the same column
body: <p>I have a table "Message_group" like that and AAAA is my profile_id of login.</p>
  
  <pre><code>message_group_id | profile_id | group_id
  
      1            AAAAA      1000
      2            EEEEE      1000
      3            AAAAA      2000
      4            FFFFF      2000
      5            AAAAA      3000
      6            HHHHH      3000
      7            WWWWW      4000
      8            RRRRR      4000
  </code></pre>
  
  <p>I would like a query that gives the result:</p>
  
  <pre><code>1 EEEEE 1000
  2 FFFFF 2000
  3 HHHHH 3000
  </code></pre>