title: Which year saw the highest and lowest no of countries participating in olympics?
body: <p>I'm new to SQL &amp; practicing OLYMPICS dataset on kaggle &amp; unable to query out the result in single row. The question mark is where I am stuck</p>
  <pre><code>select games, count(DISTINCT r.region) AS a, count(DISTINCT r.region) AS b
  from oly
  JOIN regions r 
    ON oly.noc = r.noc
  group by games
  order by a ASC
  LIMIT 1
  </code></pre>
  <p>?????</p>
  <pre><code>select games, count(DISTINCT r.region) AS B
  from oly
  JOIN regions r 
    ON oly.noc = r.noc
  GROUP BY games
  ORDER BY  B desc
  LIMIT 1 ;
  </code></pre>