Advertisement
Fuzzysteve

Gallente Highsec Worlds

Dec 31st, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. mysql> select md.typeid,typename,count(md.typeid) from mapSolarSystems mss join mapRegions mr on (mss.regionid=mr.regionid) join mapConstellations mc on (mc.constellationid=mss.constellationid) join mapDenormalize md on mss.solarsystemid=md.solarsystemid join invTypes it on (it.typeid=md.typeid) where mss.security>=0.5 and coalesce(mss.factionid,mc.factionid,mr.factionid)=500004 and it.groupid=7 group by typeid;
  2. +--------+--------------------+------------------+
  3. | typeid | typename | count(md.typeid) |
  4. +--------+--------------------+------------------+
  5. | 11 | Planet (Temperate) | 231 |
  6. | 12 | Planet (Ice) | 95 |
  7. | 13 | Planet (Gas) | 573 |
  8. | 2014 | Planet (Oceanic) | 78 |
  9. | 2015 | Planet (Lava) | 162 |
  10. | 2016 | Planet (Barren) | 573 |
  11. | 2017 | Planet (Storm) | 121 |
  12. | 2063 | Planet (Plasma) | 42 |
  13. +--------+--------------------+------------------+
  14. 8 rows in set (0.02 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement