title: Confronting Numbers in Different Rows and Different Columns
body: <p>In summary, I want to analyze which numbers come together more frequently in lotto results.</p>
  <p><em><strong>Table</strong></em>: <strong>list</strong></p>
  <p><em><strong>Colums</strong></em>: <code>number_1</code>,<code>number_2</code>,<code>number_3</code>,<code>number_4</code>,<code>number_5</code>,<code>number_6</code></p>
  <p>Data;</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th style="text-align: center;">number_1</th>
  <th style="text-align: center;">number_2</th>
  <th style="text-align: center;">number_3</th>
  <th style="text-align: center;">number_4</th>
  <th style="text-align: center;">number_5</th>
  <th style="text-align: center;">number_6</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td style="text-align: center;">1</td>
  <td style="text-align: center;">2</td>
  <td style="text-align: center;">3</td>
  <td style="text-align: center;"><strong>30</strong></td>
  <td style="text-align: center;"><strong>40</strong></td>
  <td style="text-align: center;">50</td>
  </tr>
  <tr>
  <td style="text-align: center;">14</td>
  <td style="text-align: center;">20</td>
  <td style="text-align: center;"><strong>30</strong></td>
  <td style="text-align: center;"><strong>40</strong></td>
  <td style="text-align: center;">51</td>
  <td style="text-align: center;">52</td>
  </tr>
  <tr>
  <td style="text-align: center;">12</td>
  <td style="text-align: center;"><strong>57</strong></td>
  <td style="text-align: center;"><strong>28</strong></td>
  <td style="text-align: center;"><strong>36</strong></td>
  <td style="text-align: center;"><strong>55</strong></td>
  <td style="text-align: center;">65</td>
  </tr>
  <tr>
  <td style="text-align: center;">13</td>
  <td style="text-align: center;"><strong>28</strong></td>
  <td style="text-align: center;">35</td>
  <td style="text-align: center;"><strong>36</strong></td>
  <td style="text-align: center;"><strong>57</strong></td>
  <td style="text-align: center;"><strong>55</strong></td>
  </tr>
  </tbody>
  </table>
  </div>
  <p><strong>The result I should get with the query</strong></p>
  <p>28,36,55,57 -&gt; TARGET: 2</p>
  <p>30,40 -&gt; TARGET: 2</p>