title: SQL statement inside an SQL statement
body: <p>I want this statement to return the systems where there are more than two stations, I got this far but I don't know what to do next. All this does it return every system with a regionID less than 1100001. Am I onto the right idea at least? </p>
  
  <pre><code>SELECT DISTINCT mapSolarSystems.regionID,solarSystemID,solarSystemName,x,z,security 
  FROM mapSolarSystems 
  WHERE mapSolarSystems.regionID &lt;11000001  
  AND 
  2 &lt; (SELECT COUNT(*) FROM stations,mapSolarSystems
   WHERE mapSolarSystems.solarSystemID=stations.systemid)
  </code></pre>