I would like to build a very basic functions to see if a query ran at time X has the same result-set structure (ignoring order) as a previous query. This has two components: