我正在尝试将此查询从 Oracle 转换为 MySQL:
CREATE TABLE SCT_201301_UMLS_SYN
AS SELECT DISTINCT A.SCUI "SNOMED_CODE", A.STR "SNOMED_DISPLAY_NAME"
, B.STR "UMLS_SYNONYM"
FROM MRCONSO A, MRCONSO_UMLS B
WHERE A.SCUI IN (SELECT referencedComponentId
FROM SnomedCTtoICD10)
AND A.SAB='SNOMEDCT'
AND A.SUPPRESS='N'
AND A.TTY='PT'
AND B.LAT='ENG'
AND B.SUPPRESS='N'
AND A.CUI=B.CUI
任何想法如何做到这一点?