skip to Main Content

MySQL indexes on id?

Should I put INDEX on staff_id & client_id CREATE TABLE conversation ( id INT(7) UNSIGNED AUTO_INCREMENT PRIMARY KEY, staff_id INT(7) UNSIGNED, client_id INT(7) UNSIGNED, summary TEXT, FOREIGN KEY (staff_id) REFERENCES staff(staff_id) ON DELETE CASCADE, FOREIGN KEY (client_id) REFERENCES client(client_id) ON…

VIEW QUESTION
Back To Top
Search