title: Select rows with the same set regardless of the order
body: <p>Given: </p>
  
  <pre><code>id | a | b | c
  ---------------
  1  | 3 | 8 | 7
  2  | 4 | 5 | 6
  3  | 0 | 8 | 1
  4  | 2 | 4 | 6
  5  | 6 | 5 | 4
  6  | 9 | 5 | 2
  7  | 0 | 1 | 8
  </code></pre>
  
  <p>Like in a lottery, I wanted to select all rows that has the same combination regardless of the order. Expected selection should give me </p>
  
  <pre><code>id | a | b | c
  ---------------
  2  | 4 | 5 | 6
  5  | 6 | 5 | 4
  3  | 0 | 8 | 1
  7  | 0 | 1 | 8
  </code></pre>
  
  <p>I tried SELF JOINing the table itself, not sure if it's the right approach. This is postgres</p>