Question: How many customers in the machinery segment are in debt?
SQL: SELECT COUNT(c_custkey) FROM customer WHERE c_acctbal < 0 AND c_mktsegment = 'MACHINERY'