我被要求写一个“单元测试”来测试这个映射文件。我查询正确吗?
我有多个选择语句,但不确定执行是否正确。对于映射文档中的每一行,我都有一条select语句。
我正确地执行了这个“单元测试”吗?
SELECT agreement_id
FROM event JOIN agreement_event
ON event.event_id = agreement_event.event_id
WHERE event_activity_type_cd = 'update_address_phone_number'
SELECT data_source_type_cd
FROM event JOIN agreement_event
ON event.event_id = agreement_event.event_id
WHERE event_activity_type_cd = 'update_address_phone_number'
SELECT rc
FROM event JOIN agreement_event
ON event.event_id = agreement_event.event_id
WHERE event_activity_type_cd = 'update_address_phone_number'
SELECT channel
FROM event JOIN agreement_event
ON event.event_id = agreement_event.event_id
WHERE event_activity_type_cd = 'update_address_phone_number'
SELECT sub_channel
FROM event JOIN agreement_event
ON event.event_id = agreement_event.event_id
WHERE event_activity_type_cd = 'update_address_phone_number'
SELECT event_start_dttm
FROM event JOIN agreement_event
ON event.event_id = agreement_event.event_id
WHERE event_activity_type_cd = 'update_address_phone_number'
SELECT event_subtype_cd
FROM event JOIN agreement_event
ON event.event_id = agreement_event.event_id
WHERE event_activity_type_cd = 'update_address_phone_number'SELECT agreement_id
SELECT event_activity_type_cd
FROM event JOIN agreement_event
ON event.event_id = agreement_event.event_id
WHERE event_activity_type_cd = 'update_address_phone_number'
SELECT event_desc
FROM event JOIN agreement_event
ON event.event_id = agreement_event.event_id
SELECT employeeid
FROM event JOIN agreement_event
ON event.event_id = agreement_event.event_id
WHERE event_activity_type_cd = 'update_address_phone_number'
WHERE event_activity_type_cd = 'update_address_phone_number'
FROM event JOIN agreement_event
ON event.event_id = agreement_event.event_id
WHERE event_activity_type_cd = 'update_address_phone_number'