Error 1240: Key reference and table reference don't match
Error Code
SQLSTATE
Error
Description
1240
HY000
ER_KEY_REF_DO_NOT_MATCH_TABLE_REF
Key reference and table reference don't match
Possible Causes and Solutions
This article doesn't currently contain any content. You can help!
This page is licensed: CC BY-SA / Gnu FDL
PreviousError 1239: Incorrect foreign key definitionNextError 1241: Operand should contain column(s)
Last updated
Was this helpful?