IPL stats generation | SQL scenario questions

 DML Script:


CREATE TABLE MatchDetails

(

Innings INT,

Overs INT,

BallNumber INT,

Batter varchar(100),

Bowler varchar(100),

Nonstriker varchar(100),

ExtraType varchar(100),

Batsmanrun INT,

extrasrun INT,

TotalRun INT,

IsWicketDelivery INT,

PlayerOut varchar(100),

kind varchar(100),

fielder varchar(100),

BattingTeam varchar(1000)

)

Excel: https://github.com/datasculptor2895/SQLInterviewQuestions/blob/main/RR%20vs%20RCB.xlsx


Import this excel into the table using the below link

https://sqlspreads.com/blog/how-to-insert-data-in-excel-to-sql-server/#:~:text=Step%2Dby%2Dstep%20Instructions&text=Right%2Dclick%20the%20table%20and,selected%20cells%20and%20select%20Copy.

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