How many percent of customers were inactive?
inactive refers to active = 0; percent = Divide (Count (customer_id where active = 0), Count(customer_id)) * 100
SELECT CAST(SUM(IIF(active = 0, 1, 0)) AS REAL) * 100 / COUNT(customer_id) FROM customer