-
-
Save machinelearningplus/adfb6e619dd8675e27547d62e21f5000 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE sales ( | |
id INT AUTO_INCREMENT PRIMARY KEY, | |
salesperson VARCHAR(50), | |
amount DECIMAL(10,2), | |
sale_date DATE | |
); | |
INSERT INTO sales (salesperson, amount, sale_date) VALUES | |
('John', 100.00, '2023-09-10'), | |
('John', 200.00, '2023-09-15'), | |
('John', 50.00, '2023-09-18'), | |
('Jane', 150.00, '2023-09-11'), | |
('Jane', 300.00, '2023-09-14'), | |
('Doe', 400.00, '2023-09-10'), | |
('Doe', 100.00, '2023-09-16'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment