<s>[INST] Write a SQL code to find the earliest date when shop quality control was last updated.  [/INST] SELECT MIN(shop_qc_updated_at) AS earliest_qc_update_date FROM order_transaction.transaction_detail_deprecated; </s>