You are given CRM records entered by multiple teams. Write a PostgreSQL query that returns each team’s total records, the number of records with data integrity issues, and the issue rate. Treat a record as problematic if it has a missing owner, a missing account, or a status that is not one of new, working, qualified, or closed.