create or replace view v_dws_test_5 as
select sysj,
(SELECT `b`.`detail_code` AS `detail_code`
FROM `raw`.`ythszzy_stdc_current_detail` AS `b`
WHERE `b`.`group_id` = 5664039078002690
limit 1) AS `xxdm`
from model.dwd_fw_yktjylssjzl;
CREATE OR REPLACE VIEW v_dws_test_5 AS
SELECT sysj, b.detail_code AS xxdm
FROM model.dwd_fw_yktjylssjzl a
JOIN raw.ythszzy_stdc_current_detail b ON b.group_id = 5664039078002690
LIMIT 1;