<s>[INST] Write a SQL code to determine the total number of shops for each unique quality control status.  [/INST] SELECT shop_qc_status, COUNT(*) AS total_shops_per_qc_status FROM order_transaction.transaction_detail_deprecated GROUP BY shop_qc_status; </s>