Run sql against databases