Database query tool for easy access querying