SELECT
tp.Test_Item_Code AS 'รหัสรายการเทสในโปรไฟล์',
tp.Test_Profile_Code AS 'รหัสโปรไฟล์',
t.Test_Name AS 'ชื่อเทส',
t.Test_His_Code AS 'รหัสเทสในระบบ HIS'
FROM
dbo.tbl_lab_setup_Test_Profile tp
INNER JOIN
dbo.tbl_lab_setup_Test t
ON
tp.Test_Item_Code = t.Test_Code
WHERE
tp.Test_Profile_Code in('UAC001','UAC002','UAC003')
ORDER BY tp.Test_Profile_Code ASC;
To embed this project on your website, copy the following code and paste it into your website's HTML: