Write SQL query to solve given problem: Calculate the percentage of customers' accounts in debt.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT CAST(SUM(IIF(c_acctbal < 0, 1, 0)) AS REAL) * 100 / COUNT(c_custkey) FROM customer