-- Approve the reviewed customer QA example for a grouped standard-AU query.

UPDATE sg_qa_vector_example
   SET reference_status = 'APPROVED',
       inspection_status = 'VERIFIED',
       answer_text = 'Expected focus: aggregate standard AU by user-master country, joining COMN_COUNTRY_BAS only for the country display name. '
                   || 'Use CZN_COMN_USER_MST with AU_FLAG=1 and EXPT_USER_YN=''N'', grouped by LAST_CONN_COUNTRY_CD and COUNTRY_KR_NM. '
                   || 'The label standard AU does not imply STD_USER_YN. A successfully executed empty result is valid. '
                   || 'Historical answer: no result rows.',
       inspection_note = 'Customer QA verified: country standard-AU is grouped AU_FLAG aggregation; empty output is valid.',
       verified_at = SYSTIMESTAMP,
       verified_by = 'SGMP_POC_METADATA_REVIEW'
 WHERE source_type = 'CUSTOMER_QA_BENCHMARK'
   AND source_case_id = 'CZN-06';

COMMIT;
