Created a table-creating query for the location entry