<s>[INST] Write a SQL code to find the total number of shops for each unique VAT address ID.  [/INST] SELECT shop_vat_address_id, COUNT(*) AS total_shops_per_vat_address_id FROM order_transaction.transaction_detail_deprecated GROUP BY shop_vat_address_id; </s>