created query to find all trade and minor schema changes