Created a query to recreate a multi sosie program