Inspectopedia
 
2024.3

VALUES clause cardinality

Warning
New
Last modified: 03 December 2024

Reports situations when a number of parameters in VALUES does not match a number of columns in a target table.

Example (MySQL):

The foo table has three columns but in the INSERT INTO statement we pass four.