Posts by Marcus Vinicius • 36 points
1 post
-
2
votes2
answers1587
viewsA: SQL Syntax Error in FK Creation
Friend, try to create the table and then change the table by setting the desired FK. Ex: CREATE TABLE `cidades` ( `codcidade` INT NOT NULL , `descricao` VARCHAR( 50 ) NOT NULL) ENGINE = innodb;…