תבנית:פרופיל כדורעף/מספרים עונתיים/שליפה והצגת מספרים לפי עונה/הצגת שחקן: הבדלים בין גרסאות בדף
מתוך מכביפדיה
אין תקציר עריכה
תגית: שוחזרה
אין תקציר עריכה
 
(גרסת ביניים אחת של אותו משתמש אינה מוצגת)
שורה 3: שורה 3:
We use SUM(Score)/COUNT(*) instead of AVG(Score) because AVG didn't work well with empty values
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, Volleyball_Competitions=vc
|join on=vpge._pageName = vg._pageName
|join on=vpge._pageName = vg._pageName, vg.Competition=vc.OriginalName
|fields=vg.Season=Season, COUNT(*)=PlayerAppearances, SUM(vpge.PlayerScore)=SeasonSum , SUM(vpge.PlayerScore)/COUNT(*)=SeasonAvg
|fields=vg.Season=Season, COUNT(*)=PlayerAppearances, SUM(vpge.PlayerScore)=SeasonSum , SUM(vpge.PlayerScore)/COUNT(*)=SeasonAvg
|where=vpge.PlayerName="{{{שם|}}}" AND vpge.Team=1 and vpge.isPlayed=true
|where=vpge.PlayerName="{{{שם|}}}" AND vpge.Team=1 and vpge.isPlayed=true AND vc.Official=true
|group by=vg.Season
|group by=vg.Season
|format=template
|format=template
שורה 14: שורה 14:
|default=}}<!--
|default=}}<!--


--<</includeonly>
--></includeonly>

גרסה אחרונה מ־10:53, 18 בנובמבר 2025