What is wrong with this create table statement?
问题 Im currently writing a database for a school project. Im using MySQL on xampp and trying to add this table to my database. Im still not 100% on my SQL syntax and theres an error here I cannot seem ti figure out: CREATE TABLE photoDB( U_id INT UNSIGNED NOT NULL FOREIGN KEY REFERENCES userDB(U_id), P_id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, C_id INT UNSIGNED NOT NULL FOREIGN KEY REFERENCES table_comments(C_id), PhotoName VARCHAR(50), Description TEXT NOT NULL, File VARCHAR, Views