Skip to content

Instantly share code, notes, and snippets.

@machinelearningplus
Created September 22, 2023 16:34
Show Gist options
  • Save machinelearningplus/5969d8a384b6b52f4ccf6acae27d8b7e to your computer and use it in GitHub Desktop.
Save machinelearningplus/5969d8a384b6b52f4ccf6acae27d8b7e to your computer and use it in GitHub Desktop.
CREATE TABLE students (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(255) NOT NULL,
enrollment_number VARCHAR(50) NOT NULL
);
INSERT INTO students (name, enrollment_number) VALUES
('Alice', 'ENR123'),
('Bob', 'ENR124'),
('Charlie', 'ENR125'),
('David', 'ENR123'),
('Edward', 'ENR126'),
('Frank', 'ENR124');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment