Files
existing-rpt-executive-summary/sp_rpt_executive_summary_tabel_jenis_test_v2.txt

14 lines
276 B
Plaintext

begin
select distinct
Nat_TestName,
Nat_TestCode
from one_etl.mgm_header
join nat_test on Nat_TestCode = Mgm_HeaderNat_TestCode
and Nat_TestIsActive = 'Y'
and Nat_TestIsPrice = 'Y'
where Mgm_HeaderIsActive = 'Y' and Mgm_HeaderMgm_McuID = PID
order by Nat_TestCode;
end