Overall medal counts in Semiprime Numbers in SQL. Ranked by golds, then diamonds, then silvers, then bronzes.