Created a new table and ran the query