Created
July 6, 2024 07:43
-
-
Save bevsxyz/8c47ae54a970ead315d518996678d428 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Subscriptions ( | |
CustomerID INT, | |
StartDate DATE, | |
EndDate DATE | |
); | |
INSERT INTO Subscriptions (CustomerID, StartDate, EndDate) VALUES | |
(1, '2024-01-01', '2024-03-31'), | |
(1, '2024-04-01', '2024-06-30'), | |
(1, '2024-08-01', '2024-10-31'), | |
(2, '2024-02-01', '2024-04-30'), | |
(2, '2024-05-01', '2024-07-31'), | |
(2, '2024-09-01', '2024-12-31'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment