Created
December 18, 2016 21:33
-
-
Save harsha547/098b0d7f54654914c4fea68ff6055e55 to your computer and use it in GitHub Desktop.
Teams won margin over of 100 runs
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
-- Number of times team has won | |
-- marign over of 100 Runs | |
SELECT Team.Team_Name , Match.Win_Margin | |
FROM | |
Match | |
INNER JOIN | |
Win_By | |
ON Match.Win_Type = Win_By.Win_Id | |
INNER JOIN | |
Team | |
ON Match.Match_Winner = Team.Team_Id | |
WHERE Win_By.Win_Type = 'runs' AND Match.Win_Margin > 100 | |
ORDER BY Match.Win_Margin DESC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Result 👍