SlideShare a Scribd company logo
1 of 3
Download to read offline
how would I use the following
First I need to build a view between players and batting
and how would I use calculations for the following select statements
I am puling from the Philadelphia Phillies Batting Stats 2008
here are the players I am using
Batting AVG
Shane VictorinoRF
.293
Home Runs
Ryan Howard1B
48
RBI
Ryan Howard1B
146
OBP
Chase Utley2B
.380
Hits
Chase Utley2B
177
here is what I need to do
Batting AVG
Shane VictorinoRF
.293
Home Runs
Ryan Howard1B
48
RBI
Ryan Howard1B
146
OBP
Chase Utley2B
.380
Hits
Chase Utley2B
177
here is what i need to do
Batting AVG
Shane VictorinoRF
.293
Home Runs
Ryan Howard1B
48
RBI
Ryan Howard1B
146
OBP
Chase Utley2B
.380
Hits
Chase Utley2B
177
here is what I need to do
Player Batting Stats BODY Select
Has 16 columns with headers and proper calculations
here is what I have but I need the calculations
SELECT Name, GP, AB, R, H, [2B], [3B], HR, RBI, TB, BB, SO, SB, AVG, OBP, SLG, OPS
FROM (SELECT Name, GP, AB, R, H, [2B], [3B], HR, RBI, TB, BB, SO, SB, AVG, OBP,
SLG, OPS
FROM dbo.baseball) AS b
WHERE Name IN ('Ryan Howard 1B', 'Chase Utley 2B', 'Shane Victorino RF', 'Jimmy Rollins
SS', 'Pat Burrell LF', 'Pedro Feliz 3B', 'Jayson Werth LF', 'Carlos Ruiz C', 'Geoff Jenkins RF',
'Chris Coste C', 'Greg Dobbs 1B', 'Eric Bruntlett 3B', 'So Taguchi OF', 'Cole Hamels SP', 'Brett
Myers SP', 'Jamie Moyer SP', 'Kyle Kendrick SP', 'Adam Eaton P', 'Matt Stairs 1B *', 'Joe
Blanton RP *', 'Mike Cervenak 3B', 'Brad Harman 2B', 'Chad Durbin RP', 'Tadahito Iguchi 2B *',
'J.A. Happ SP', 'Greg Golson RF', 'T.J. Bohn OF', 'Lou Marson C', 'Chris Snelling LF', 'Clay
Condrey RP', 'Ryan Madson RP', 'Andy Tracy 1B', 'R.J. Swindle RP', 'Les Walrond RP', 'Tom
Gordon RP', 'Rudy Seanez RP', 'Drew Carpenter SP', 'J.C. Romero RP', 'Brad Lidge RP', 'Scott
Eyre RP *')
ORDER BY Name;

More Related Content

More from aggarwalshoppe14

HIVin RNA genomu, bir RNA ablonundan bir DNA genomunu sentezlemek i.pdf
HIVin RNA genomu, bir RNA ablonundan bir DNA genomunu sentezlemek i.pdfHIVin RNA genomu, bir RNA ablonundan bir DNA genomunu sentezlemek i.pdf
HIVin RNA genomu, bir RNA ablonundan bir DNA genomunu sentezlemek i.pdfaggarwalshoppe14
 
Hile ��geni bileenlerini a�klar. Tannm bir kriminolog olan Donald .pdf
Hile ��geni bileenlerini a�klar. Tannm bir kriminolog olan Donald .pdfHile ��geni bileenlerini a�klar. Tannm bir kriminolog olan Donald .pdf
Hile ��geni bileenlerini a�klar. Tannm bir kriminolog olan Donald .pdfaggarwalshoppe14
 
Hi, I need help with this Probability question. Please show work and.pdf
Hi, I need help with this Probability question. Please show work and.pdfHi, I need help with this Probability question. Please show work and.pdf
Hi, I need help with this Probability question. Please show work and.pdfaggarwalshoppe14
 
Hi could I get the java code for all the tasks pls, many thanks!.pdf
Hi could I get the java code for all the tasks pls, many thanks!.pdfHi could I get the java code for all the tasks pls, many thanks!.pdf
Hi could I get the java code for all the tasks pls, many thanks!.pdfaggarwalshoppe14
 
HHI analysis indicates that many states have a highly concentrated i.pdf
HHI analysis indicates that many states have a highly concentrated i.pdfHHI analysis indicates that many states have a highly concentrated i.pdf
HHI analysis indicates that many states have a highly concentrated i.pdfaggarwalshoppe14
 
Hello I need help configuring the regression equation for this scatt.pdf
Hello I need help configuring the regression equation for this scatt.pdfHello I need help configuring the regression equation for this scatt.pdf
Hello I need help configuring the regression equation for this scatt.pdfaggarwalshoppe14
 
Health Economics with Taxation and Agrarian ReformActivity 2 Grap.pdf
Health Economics with Taxation and Agrarian ReformActivity 2 Grap.pdfHealth Economics with Taxation and Agrarian ReformActivity 2 Grap.pdf
Health Economics with Taxation and Agrarian ReformActivity 2 Grap.pdfaggarwalshoppe14
 
Here is app.js, artist.js and songs.js file. Can you look at the my .pdf
Here is app.js, artist.js and songs.js file. Can you look at the my .pdfHere is app.js, artist.js and songs.js file. Can you look at the my .pdf
Here is app.js, artist.js and songs.js file. Can you look at the my .pdfaggarwalshoppe14
 
Here is a short amino acid sequence mapped as polar (P) and nonpolar.pdf
Here is a short amino acid sequence mapped as polar (P) and nonpolar.pdfHere is a short amino acid sequence mapped as polar (P) and nonpolar.pdf
Here is a short amino acid sequence mapped as polar (P) and nonpolar.pdfaggarwalshoppe14
 
Here are the instructions and then the code in a sec. Please R.pdf
Here are the instructions and then the code in a sec. Please R.pdfHere are the instructions and then the code in a sec. Please R.pdf
Here are the instructions and then the code in a sec. Please R.pdfaggarwalshoppe14
 
help write program Project Desoription The purpose of thi project i.pdf
help write program Project Desoription The purpose of thi project i.pdfhelp write program Project Desoription The purpose of thi project i.pdf
help write program Project Desoription The purpose of thi project i.pdfaggarwalshoppe14
 
I need a case analysis using Harvards Business School format please.pdf
I need a case analysis using Harvards Business School format please.pdfI need a case analysis using Harvards Business School format please.pdf
I need a case analysis using Harvards Business School format please.pdfaggarwalshoppe14
 
Household size and educational status are part of ���� Psychologic.pdf
Household size and educational status are part of ���� Psychologic.pdfHousehold size and educational status are part of ���� Psychologic.pdf
Household size and educational status are part of ���� Psychologic.pdfaggarwalshoppe14
 
I issued 2000 shares for my society in capsim core how much will be .pdf
I issued 2000 shares for my society in capsim core how much will be .pdfI issued 2000 shares for my society in capsim core how much will be .pdf
I issued 2000 shares for my society in capsim core how much will be .pdfaggarwalshoppe14
 
Hay una polilla en Inglaterra llamada polilla moteada. Antes de la r.pdf
Hay una polilla en Inglaterra llamada polilla moteada. Antes de la r.pdfHay una polilla en Inglaterra llamada polilla moteada. Antes de la r.pdf
Hay una polilla en Inglaterra llamada polilla moteada. Antes de la r.pdfaggarwalshoppe14
 
I have a homework about information security and cipher code. I need.pdf
I have a homework about information security and cipher code. I need.pdfI have a homework about information security and cipher code. I need.pdf
I have a homework about information security and cipher code. I need.pdfaggarwalshoppe14
 
I have select this Law � The Act is Singapore Companies Act, 1967 .pdf
I have select this Law � The Act is Singapore Companies Act, 1967 .pdfI have select this Law � The Act is Singapore Companies Act, 1967 .pdf
I have select this Law � The Act is Singapore Companies Act, 1967 .pdfaggarwalshoppe14
 
I have included java code below. How do I modify it to ask user, Ho.pdf
I have included java code below. How do I modify it to ask user, Ho.pdfI have included java code below. How do I modify it to ask user, Ho.pdf
I have included java code below. How do I modify it to ask user, Ho.pdfaggarwalshoppe14
 
how would you describe the principle of duty of care to a colleague.pdf
how would you describe the principle of duty of care to a colleague.pdfhow would you describe the principle of duty of care to a colleague.pdf
how would you describe the principle of duty of care to a colleague.pdfaggarwalshoppe14
 
Hyperpigmentation is found in all of the following exceptGroup of.pdf
Hyperpigmentation is found in all of the following exceptGroup of.pdfHyperpigmentation is found in all of the following exceptGroup of.pdf
Hyperpigmentation is found in all of the following exceptGroup of.pdfaggarwalshoppe14
 

More from aggarwalshoppe14 (20)

HIVin RNA genomu, bir RNA ablonundan bir DNA genomunu sentezlemek i.pdf
HIVin RNA genomu, bir RNA ablonundan bir DNA genomunu sentezlemek i.pdfHIVin RNA genomu, bir RNA ablonundan bir DNA genomunu sentezlemek i.pdf
HIVin RNA genomu, bir RNA ablonundan bir DNA genomunu sentezlemek i.pdf
 
Hile ��geni bileenlerini a�klar. Tannm bir kriminolog olan Donald .pdf
Hile ��geni bileenlerini a�klar. Tannm bir kriminolog olan Donald .pdfHile ��geni bileenlerini a�klar. Tannm bir kriminolog olan Donald .pdf
Hile ��geni bileenlerini a�klar. Tannm bir kriminolog olan Donald .pdf
 
Hi, I need help with this Probability question. Please show work and.pdf
Hi, I need help with this Probability question. Please show work and.pdfHi, I need help with this Probability question. Please show work and.pdf
Hi, I need help with this Probability question. Please show work and.pdf
 
Hi could I get the java code for all the tasks pls, many thanks!.pdf
Hi could I get the java code for all the tasks pls, many thanks!.pdfHi could I get the java code for all the tasks pls, many thanks!.pdf
Hi could I get the java code for all the tasks pls, many thanks!.pdf
 
HHI analysis indicates that many states have a highly concentrated i.pdf
HHI analysis indicates that many states have a highly concentrated i.pdfHHI analysis indicates that many states have a highly concentrated i.pdf
HHI analysis indicates that many states have a highly concentrated i.pdf
 
Hello I need help configuring the regression equation for this scatt.pdf
Hello I need help configuring the regression equation for this scatt.pdfHello I need help configuring the regression equation for this scatt.pdf
Hello I need help configuring the regression equation for this scatt.pdf
 
Health Economics with Taxation and Agrarian ReformActivity 2 Grap.pdf
Health Economics with Taxation and Agrarian ReformActivity 2 Grap.pdfHealth Economics with Taxation and Agrarian ReformActivity 2 Grap.pdf
Health Economics with Taxation and Agrarian ReformActivity 2 Grap.pdf
 
Here is app.js, artist.js and songs.js file. Can you look at the my .pdf
Here is app.js, artist.js and songs.js file. Can you look at the my .pdfHere is app.js, artist.js and songs.js file. Can you look at the my .pdf
Here is app.js, artist.js and songs.js file. Can you look at the my .pdf
 
Here is a short amino acid sequence mapped as polar (P) and nonpolar.pdf
Here is a short amino acid sequence mapped as polar (P) and nonpolar.pdfHere is a short amino acid sequence mapped as polar (P) and nonpolar.pdf
Here is a short amino acid sequence mapped as polar (P) and nonpolar.pdf
 
Here are the instructions and then the code in a sec. Please R.pdf
Here are the instructions and then the code in a sec. Please R.pdfHere are the instructions and then the code in a sec. Please R.pdf
Here are the instructions and then the code in a sec. Please R.pdf
 
help write program Project Desoription The purpose of thi project i.pdf
help write program Project Desoription The purpose of thi project i.pdfhelp write program Project Desoription The purpose of thi project i.pdf
help write program Project Desoription The purpose of thi project i.pdf
 
I need a case analysis using Harvards Business School format please.pdf
I need a case analysis using Harvards Business School format please.pdfI need a case analysis using Harvards Business School format please.pdf
I need a case analysis using Harvards Business School format please.pdf
 
Household size and educational status are part of ���� Psychologic.pdf
Household size and educational status are part of ���� Psychologic.pdfHousehold size and educational status are part of ���� Psychologic.pdf
Household size and educational status are part of ���� Psychologic.pdf
 
I issued 2000 shares for my society in capsim core how much will be .pdf
I issued 2000 shares for my society in capsim core how much will be .pdfI issued 2000 shares for my society in capsim core how much will be .pdf
I issued 2000 shares for my society in capsim core how much will be .pdf
 
Hay una polilla en Inglaterra llamada polilla moteada. Antes de la r.pdf
Hay una polilla en Inglaterra llamada polilla moteada. Antes de la r.pdfHay una polilla en Inglaterra llamada polilla moteada. Antes de la r.pdf
Hay una polilla en Inglaterra llamada polilla moteada. Antes de la r.pdf
 
I have a homework about information security and cipher code. I need.pdf
I have a homework about information security and cipher code. I need.pdfI have a homework about information security and cipher code. I need.pdf
I have a homework about information security and cipher code. I need.pdf
 
I have select this Law � The Act is Singapore Companies Act, 1967 .pdf
I have select this Law � The Act is Singapore Companies Act, 1967 .pdfI have select this Law � The Act is Singapore Companies Act, 1967 .pdf
I have select this Law � The Act is Singapore Companies Act, 1967 .pdf
 
I have included java code below. How do I modify it to ask user, Ho.pdf
I have included java code below. How do I modify it to ask user, Ho.pdfI have included java code below. How do I modify it to ask user, Ho.pdf
I have included java code below. How do I modify it to ask user, Ho.pdf
 
how would you describe the principle of duty of care to a colleague.pdf
how would you describe the principle of duty of care to a colleague.pdfhow would you describe the principle of duty of care to a colleague.pdf
how would you describe the principle of duty of care to a colleague.pdf
 
Hyperpigmentation is found in all of the following exceptGroup of.pdf
Hyperpigmentation is found in all of the following exceptGroup of.pdfHyperpigmentation is found in all of the following exceptGroup of.pdf
Hyperpigmentation is found in all of the following exceptGroup of.pdf
 

Recently uploaded

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 

Recently uploaded (20)

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 

how would I use the following First I need to build a view between.pdf

  • 1. how would I use the following First I need to build a view between players and batting and how would I use calculations for the following select statements I am puling from the Philadelphia Phillies Batting Stats 2008 here are the players I am using Batting AVG Shane VictorinoRF .293 Home Runs Ryan Howard1B 48 RBI Ryan Howard1B 146 OBP Chase Utley2B .380 Hits Chase Utley2B 177 here is what I need to do Batting AVG Shane VictorinoRF .293 Home Runs Ryan Howard1B 48 RBI
  • 2. Ryan Howard1B 146 OBP Chase Utley2B .380 Hits Chase Utley2B 177 here is what i need to do Batting AVG Shane VictorinoRF .293 Home Runs Ryan Howard1B 48 RBI Ryan Howard1B 146 OBP Chase Utley2B .380 Hits Chase Utley2B 177 here is what I need to do Player Batting Stats BODY Select Has 16 columns with headers and proper calculations here is what I have but I need the calculations
  • 3. SELECT Name, GP, AB, R, H, [2B], [3B], HR, RBI, TB, BB, SO, SB, AVG, OBP, SLG, OPS FROM (SELECT Name, GP, AB, R, H, [2B], [3B], HR, RBI, TB, BB, SO, SB, AVG, OBP, SLG, OPS FROM dbo.baseball) AS b WHERE Name IN ('Ryan Howard 1B', 'Chase Utley 2B', 'Shane Victorino RF', 'Jimmy Rollins SS', 'Pat Burrell LF', 'Pedro Feliz 3B', 'Jayson Werth LF', 'Carlos Ruiz C', 'Geoff Jenkins RF', 'Chris Coste C', 'Greg Dobbs 1B', 'Eric Bruntlett 3B', 'So Taguchi OF', 'Cole Hamels SP', 'Brett Myers SP', 'Jamie Moyer SP', 'Kyle Kendrick SP', 'Adam Eaton P', 'Matt Stairs 1B *', 'Joe Blanton RP *', 'Mike Cervenak 3B', 'Brad Harman 2B', 'Chad Durbin RP', 'Tadahito Iguchi 2B *', 'J.A. Happ SP', 'Greg Golson RF', 'T.J. Bohn OF', 'Lou Marson C', 'Chris Snelling LF', 'Clay Condrey RP', 'Ryan Madson RP', 'Andy Tracy 1B', 'R.J. Swindle RP', 'Les Walrond RP', 'Tom Gordon RP', 'Rudy Seanez RP', 'Drew Carpenter SP', 'J.C. Romero RP', 'Brad Lidge RP', 'Scott Eyre RP *') ORDER BY Name;