Run SQL statements against an in-memory hash