argh!

query is "SELECT HESAcode, inst_name, count(UOA_name) as nos from rae_raw GROUP BY inst_name"