IPL Schedule generation using SQL | SQL Scenario based interview question

 DML Script: 

DROP TABLE IF EXISTS IPLGroups


CREATE TABLE IPLGroups

(

[GroupA] varchar(100),

[GroupB] varchar(100)

)


INSERT INTO IPLGroups

VALUES

('Mumbai Indians','Chennai Super Kings'),

('Kolkata Knight Riders','Sunrisers Hyderabad'),

('Rajasthan Royals','Royal Challengers Bengaluru'),

('Delhi Capitals','Punjab Kings'),

('Lucknow Super Giants','Gujarat Titans')


SELECT * FROM IPLGroups


Detailed Explanation: https://youtu.be/4HaSo38BCQM

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