I have several very large databases that I am trying to run some queries on. The table in question has the following (simplified) format, with some sample data. There are ad