I have a table of Employees full names and I need to retrieve the most occurring name associated with the frequency of it, regardless it was first or sec or third..etc. the intended result is to be like the second table

```html
  <br><br>
    <table>

      <tr>
        <th>ID </th>
        <th>FirstName</th>
        <th>SecName</th>
        <th>ThirdName</th>
        <th>ForthName</th>
        <th>SixName</th>
      </tr>
      <tr>
        <td>1</td>
        <td>Sam</td>
        <td>John</td>
        <td>Mark</td>
        <td>Thomas</td>
        <td>William</td>
      </tr>
      <tr>
        <td>2</td>
        <td>Peter</td>
        <td>Wolf</td>
        <td>Sam</td>
        <td>Philip</td>
        <td>Sam</td>
      </tr>
      <tr>
        <td>3</td>
        <td>Mark</td>
        <td>Black</td>
        <td>Smith</td>
        <td>Luke</td>
        <td>Johnny
        </td>
      </tr>
    </table>
    <br> 
    <table>
      <tr>
        <th>Name </th>
        <th>Frq</th>
      </tr>
      <tr>
        <td>
          Sam</td>
        <td>3</td>
      </tr>
      <tr>
        <td>Mark</td>
        <td>2</td>
      </tr>
      <tr>
        <td> John</td>
        <td>1</td>
      </tr>
    </table>
```

etc then the rest of the names that are having the same frquency