Skip to content
Advertisement

INSERT INTO SELECT AND VALUES

Error: “Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.”

Advertisement

Answer

The error is pretty clear. The outer select returns too many rows. You can just remove it:

Note that the constant values are included in the select.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement