Ungroup the data (Intel BI Engineer interview) | SQL Scenario Interview Question

 DML Script:

 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

Detailed explanation: https://youtu.be/RAoLKyL4Dxk

Comments

Popular posts from this blog

50 Essential SQL Questions to Land Your Dream Job

How to find all the customers who placed orders on three consecutive days | SQL Scenario questions

ACCENTURE SQL INTERVIEW QUESTION | Change the ProductIDs