<s>[INST] Write a SQL code to find the total number of shops for each unique district in Thai (Thailand).  [/INST] SELECT shop_district_th, COUNT(*) AS total_shops_per_district_th FROM order_transaction.transaction_detail_deprecated GROUP BY shop_district_th; </s>