以下是 MySQL 查询,
DELETE FROM ATTRIBUTE_INSTANCE
WHERE ATTRIBUTE_INSTANCE.ATTRIBUTE_NAME
IN
( SELECT CONCAT(ATTRIBUTE_TEMPLATE.TEMPLATE_ID,'.',ATTRIBUTE_TEMPLATE.ATTRIBUTE_NAME)
FROM ATTRIBUTE_TEMPLATE, TEMP_ENTITY_TABLE
WHERE ATTRIBUTE_TEMPLATE.TEMPLATE_ID=TEMP_ENTITY_TABLE.ENTITY_ID
);
我想将其转换为等效的 sql server 查询,但未能实现。你能帮我么?
谢谢