Adding and deleting tables in a query

Notes: