有没有办法加快速度?没有命名空间。
SELECT t1.*
FROM table1 AS t1 WITH (nolock)
LEFT OUTER JOIN
table2 AS t2 WITH (nolock)
ON t1.term_uid = t2.term_uid
WHERE t1.code IN
('305.1', 'Z72.0', 'F17.200') OR
t2.term_code
('(/Attributes/Attribute[@name="myName"]/text())[1]', 'varchar(20)') IN
('305.1', 'Z72.0', 'F17.200');