Given these two tables of supply chain data, how would you write a query to find the materials with the highest error rates?