SQL语法错误-插入...选择

Mic*_*ein 1 sql

当我在MySQL Workbench中运行此语句时,在SELECT语句附近出现语法错误。

INSERT INTO 
    rare_csshop.cscart_product_features_values
        (feature_id, product_id, value, lang_code)
VALUES
    SELECT DISTINCT
    "10" As Feature, t1.product_id, CONCAT(t2.NHeigth, "\" H x ", t2.NWidth, "\" W x ", t2.NDepth, "\" D") As Dimensions, "EN" As Lang
FROM
    rare_csshop.cscart_product_descriptions AS t1, 
    rare_csshop.products AS t2
WHERE
    t1.product = t2.NName
Run Code Online (Sandbox Code Playgroud)

select语句本身运行良好。我想念什么吗?

Ben*_*oit 5

您需要VALUES从查询中删除单词(插入值或SELECT结果)。