<s>[INST] Write a SQL code to determine the total number of shops for each unique category name in Thai.  [/INST] SELECT shop_category_name_th, COUNT(*) AS total_shops_per_category_name_th FROM order_transaction.transaction_detail_deprecated GROUP BY shop_category_name_th; </s>