To show the name of the fielders who have played 7 times as many matches as the wicketkeeper(s)
To show the name of the fielders who have played 7 times as many matches as the wicketkeeper(s)
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
SQL Code for
Extend the code in (Perform a LEFT OUTER JOIN between the tables Wicketkeeping and Batting. You may select any column(s). Look at the result and state how many wicketkeepers have not played as batsmen (no need to write code for this part ) To show the name of the fielders who have played 7 times as many matches as the wicketkeeper(s) in 5).

Transcribed Image Text:CREATE TABLE wicketkeeping (
Player CHAR(25),
CarrerSpan VARCHAR(20),
Matches INT,
Innings INT,
Dismissals INT,
Catches INT,
Stumpings INT,
MaxiumDismissalsInOneInning CHAR(15),
DismissalsPerInnings NUMERIC
INSERT INTO wicketkeeping
JALUES('Q de Kock',
INSERT INTO wicketkeeping
VALUES('AB de villiers', '2006-2017',
INSERT INTO wicketKeeping
VALUES('MV Boucher',
INSERT INTO wicketKeeping
VALUES('M Mosehle',
INSERT INTO wicketKeeping
JALUES('H Klaasen',
INSERT INTO wicketkeeping
JALUES ('HG Kuhn',
INSERT INTO WwicketKeeping
VALUES('MN van Wyk',
INSERT INTO wicketKeeping
JALUES ('DJ Vilas',
30,
9,
'4 (3ct 1st)', 1.218);
'2012-2018',
32,
32,
39,
7,
'4 (4ct Øst)', 1.076);
78,
26,
28,
21,
19,
18,
1,
'3 (3ct Ost)', 0.760);
'2005- 2010',
25,
25,
6,
2,
'3 (2ct 1st)',
1.142);
'2017-2017',
7,
7,
8,
0,
'2 (2ct Ost)', 1.333);
'2018-2018',
4,
3,
4,
4,
4,
0,
'3 (3ct Ost)', 0.800);
'2009-2017',
7,
5,
A,
1,
'1 (1ct Øst)', 0.800);
' 2007-2015',
8,
5,
4,
3,
0,
0,
'0',
0.000);
'2012-2012',
1,
1,
0,

Transcribed Image Text:CREATE TABLE Fielding(
Player CHAR(25),
CareerSpan VARCHAR(20),
Matches INT,
Innings INT,
Catches INT,
MaxCatchesInoneInning INT,
CatchesPerInning NUMERIC
);
3,
0.846);
44,
INSERT INTO Fielding
VALUES ('AB de villiers', '2006-2017',
INSERT INTO Fielding
VALUES ('DA Miller',
INSERT INTO Fielding
VALUES ('JP Duminy',
INSERT INTO Fielding
VALUES ('GC Smith',
INSERT INTO Fielding
VALUES ('F du Plessis', ' 2012-2017',
INSERT INTO Fielding
VALUES('HM Amla',
INSERT INTO Fielding
VALUES ('J Botha',
INSERT INTO Fielding
VALUES ('JA Morkel',
INSERT INTO Fielding
VALUES('F Behardien',
INSERT INTO Fielding
VALUES ('DW Steyn',
INSERT INTO Fielding
VALUES ('JL Ontong',
INSERT INTO Fielding
VALUES('RJ Peterson',
INSERT INTO Fielding
VALUES ('RR Rossouw',
INSERT INTO Fielding
VALUES ('D wiese'
INSERT INTO Fielding
VALUES ('HH Gibbs',
78,
52,
3,
0.620);
58,
58,
36,
'2010-2018',
2,
0.441);
77,
17,
34,
'2007-2018',
2,
0.545);
33,
18,
33,
'2005- 2011',
2,
0.500);
36,
18,
36,
2,
0.439);
41,
18,
41,
'2009-2018',
2,
0.425);
40,
40,
17,
'2006-2012',
2,
0.340);
50,
17,
50,
'2005- 2015',
2,
0.351);
37,
13,
37,
'2012-2018',
1,
0.261);
42,
11,
42,
'2007-2016',
3,
0.714);
14,
14,
10,
'2008-2015',
2,
0.476);
21,
10,
21,
'2006-2014',
3,
0.600);
15,
15,
9,
'2014-2016',
2,
0.450);
20,
9,
20,
'2013-2016',
0.347);
23,
23,
'2005- 2010',
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 4 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education