אורן המתעפץ (שיחה | תרומות) אין תקציר עריכה |
אין תקציר עריכה |
||
| (5 גרסאות ביניים של 2 משתמשים אינן מוצגות) | |||
| שורה 1: | שורה 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
We use SUM(Score)/COUNT(*) instead of AVG(Score) because AVG didn't work well with empty values | |||
-->{{#cargo_query: | -->{{#cargo_query: | ||
table=Volleyball_Players_Game_Events=vpge, Volleyball_Games=vg | table=Volleyball_Players_Game_Events=vpge, Volleyball_Games=vg | ||
|join on=vpge._pageName = vg._pageName | |join on=vpge._pageName = vg._pageName | ||
|fields=SUM(vpge.PlayerScore)=PointsSum, | |fields=COUNT(*)=Appearances, SUM(vpge.PlayerScore)=PointsSum, SUM(vpge.PlayerScore)/COUNT(*)=PointsAvg | ||
|where=vpge.PlayerName="{{{שם|}}}" AND vpge.Team=1 AND vpge.isPlayed=true | |where=vpge.PlayerName="{{{שם|}}}" AND vpge.Team=1 AND vpge.isPlayed=true | ||
|format=template | |format=template | ||