This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

inquiry

Error Static analysis:

1 errors were found during analysis.

A closing bracket was expected. (near ")" at position 173) SQL query: Copy

CREATE table QuestionS( Question_ID INT PRIMARY KEY, Question_Text VARCHAR(45567), Correct_Answer VARCHAR(45), FOREIGN KEY Challenge_ID REFERENCES table Challengers );

MySQL said: Documentation

  1. 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'REFERENCES table Challengers )' at line 5

Answer Answered by Ian Gilfillan in this comment.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.