Execute the query, store the results in a table, and return a reference to the new table
Useful links