Created
July 6, 2024 06:42
-
-
Save bevsxyz/a9237538febae067be730267e77fa7d1 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 InventoryStatus ( | |
ProductID INT, | |
StatusDate DATE, | |
InStock BOOLEAN | |
); | |
INSERT INTO InventoryStatus (ProductID, StatusDate, InStock) VALUES | |
(1, '2024-06-25', 1), | |
(1, '2024-06-26', 1), | |
(1, '2024-06-27', 0), | |
(1, '2024-06-28', 0), | |
(1, '2024-06-29', 1), | |
(1, '2024-06-30', 1), | |
(2, '2024-06-25', 0), | |
(2, '2024-06-26', 0), | |
(2, '2024-06-27', 1), | |
(2, '2024-06-28', 1), | |
(2, '2024-06-29', 1), | |
(2, '2024-06-30', 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment