Added a table view with the result of the query