list sql results using hashmaps