<s>[INST] Write a SQL code to identify the number of shops for each unique member type name in Thai.  [/INST] SELECT shop_member_type_name_th, COUNT(*) AS total_shops_per_member_type_name_th FROM order_transaction.transaction_detail_deprecated GROUP BY shop_member_type_name_th; </s>