我收到错误
下面的 INSERT 代码中的代码 1062(用于表“技术”)。
任何帮助将不胜感激!
CREATE TABLE IF NOT EXISTS `Tech` (
`id` int(10) unsigned NOT NULL auto_increment,
`name` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
FOREIGN KEY (id) REFERENCES AppliedTech(id_questions)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
INSERT INTO `Tech` (`id`, `name`) VALUES
(1, 'Applied Tech'),
(2, 'Communications Equipment'),
(3, 'Computer Systems'),
(4, 'Internet/Digital Media'),
(5, 'Semiconductors'),
(6, 'IT Services'),
(7, 'Payments Processing'),
(8, 'Software');