



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
MySQL - Enum and Set Used when inserting selected data inside the Enum or Set Parenthesis
Typology: Study notes
1 / 5
This page cannot be seen from the preview
Don't miss anything!




CREATE TABLE Tickets ( ID INT PRIMARY KEY AUTO_INCREMENT, title VARCHAR(255) NOT NULL, Action_Owner SET('John','Peter','Lloyd') NOT NULL ); INSERT VALUES ONTO THE TABLE INSERT INTO Tickets VALUES(null,'Bug','John'); INSERT INTO Tickets VALUES(null,'Tableau Error','Peter'); INSERT INTO Tickets VALUES(null,'Excel Error','Lloyd'); INSERT INTO Tickets VALUES(null,'No Internet',1); INSERT INTO Tickets VALUES(null,'Inaccessible Site',2); INSERT INTO Tickets VALUES(null,'Automatic Shutdown',3); INSERT INTO Tickets VALUES(null,'No Internet',4); INSERT INTO Tickets VALUES(null,'Inaccessible Site',5); INSERT INTO Tickets VALUES(null,'Automatic Shutdown',6); INSERT INTO Tickets VALUES(null,'Automatic Shutdown',7); SELECT * FROM Tickets;