SQL INTERVIEW QUESTION | Ungrouping Data
DROP TABLE IF EXISTS Products;
GO
CREATE TABLE Products
(
Product VARCHAR(100),
Quantity INTEGER NOT NULL
)
INSERT INTO Products
VALUES
('Mobile',3),
('TV',5),
('Tablet',4)
SELECT * FROM Products
DROP TABLE IF EXISTS Products;
GO
CREATE TABLE Products
(
Product VARCHAR(100),
Quantity INTEGER NOT NULL
)
INSERT INTO Products
VALUES
('Mobile',3),
('TV',5),
('Tablet',4)
SELECT * FROM Products
Comments
Post a Comment