MySql:如何将多行中的多列插入另一个 table?

MySql: How do I insert multiple columns from multiple rows into another table?

INSERT INTO destination_table (source_id, foo_id, bar) 
VALUES( 
    (SELECT id, foo_id, bar FROM source_table WHERE id=399274),
    (SELECT id, foo_id, bar FROM source_table WHERE id=399279),
    (SELECT id, foo_id, bar FROM source_table WHERE id=380409), 
    (SELECT id, foo_id, bar FROM source_table WHERE id=400037), 
    (SELECT id, foo_id, bar FROM source_table WHERE id=401026)
);

但这会导致错误: ERROR 1241 (21000): Operand should contain 1 column(s)

不使用插入...值语法,而是使用插入...select:

INSERT INTO destination_table (source_id, foo_id, bar) 
SELECT id, foo_id, bar FROM source_table
WHERE id in (399274,399279,380409,400037,401026);