in reply to Handling near-redundant SQL queries
Thanks to all for the advice.
I will be taking a closer look at all the solutions mentioned throughout the week.