SELECT tournament.id
, tournament.name
, tournament.hash
, game_result_composition.player_id
, game_result_composition.team_id
, COUNT(game.id) AS game_count
, (SELECT COUNT(game_result_score.id)
FROM game_result_score
JOIN game ON game.id = game_result_score.game_id AND game.publish_results = 1
WHERE game_result_score.team_id = game_result_composition.team_id
AND ((game_result_score.player_id = game_result_composition.player_id)
OR (assistent1_id = game_result_composition.player_id)
OR (assistent2_id = game_result_composition.player_id))
AND game.tournament_id = tournament.id
)
AS player_point
, (SELECT COUNT(game_result_score.id)
FROM game_result_score
JOIN game ON game.id = game_result_score.game_id AND game.publish_results = 1
WHERE game_result_score.team_id = game_result_composition.team_id
AND game_result_score.player_id = game_result_composition.player_id
AND game.tournament_id = tournament.id
)
AS player_goal
, (SELECT COUNT(game_result_score.id)
FROM game_result_score
JOIN game ON game.id = game_result_score.game_id AND game.publish_results = 1
WHERE game_result_score.team_id = game_result_composition.team_id
AND ((assistent1_id = game_result_composition.player_id)
OR (assistent2_id = game_result_composition.player_id))
AND game.tournament_id = tournament.id
)
AS player_assistent
, (SELECT SUM(minute)
FROM game_result_penalty
JOIN game ON game.id = game_result_penalty.game_id AND game.publish_results = 1
WHERE game_result_penalty.team_id = game_result_composition.team_id
AND player_id = game_result_composition.player_id
AND game.tournament_id = tournament.id
)
AS player_penalty
,(
SELECT SUM(game_result_plus_minus.point) FROM game_result_plus_minus
JOIN game ON game.id = game_result_plus_minus.game_id AND game.publish_results = 1
WHERE team_id = game_result_composition.team_id
AND player_id = game_result_composition.player_id
AND game.tournament_id = tournament.id
) AS player_plus_minus
, (SELECT SUM(shoot_1)+SUM(shoot_2)+SUM(shoot_3)
FROM game_result_goalkeeper
JOIN game ON game.id = game_result_goalkeeper.game_id AND game.publish_results = 1
WHERE team_id = game_result_composition.team_id
AND game.tournament_id = tournament.id
AND player_id = game_result_composition.player_id)
AS goalkeeper_shoots
, (SELECT SUM(goals_missed)
FROM game_result_goalkeeper
JOIN game ON game.id = game_result_goalkeeper.game_id AND game.publish_results = 1
WHERE team_id = game_result_composition.team_id
AND game.tournament_id = tournament.id
AND player_id = game_result_composition.player_id)
AS goalkeeper_goals_missed
, (SELECT SUM(reflected_shoots)
FROM game_result_goalkeeper
JOIN game ON game.id = game_result_goalkeeper.game_id AND game.publish_results = 1
WHERE team_id = game_result_composition.team_id
AND game.tournament_id = tournament.id
AND player_id = game_result_composition.player_id)
AS goalkeeper_reflected_shoots
, (SELECT SUM(reflected_shoots) / (SUM(shoot_1)+SUM(shoot_2)+SUM(shoot_3))
FROM game_result_goalkeeper
JOIN game ON game.id = game_result_goalkeeper.game_id AND game.publish_results = 1
WHERE team_id = game_result_composition.team_id
AND game.tournament_id = tournament.id
AND player_id = game_result_composition.player_id)
AS goalkeeper_percent
, player_request.player_position_id
, championship.name AS championship_name
FROM game_result_composition
JOIN game ON game.id = game_result_composition.game_id AND game.publish_results = 1
JOIN player_request ON player_request.id = game_result_composition.player_request_id
JOIN tournament ON tournament.id = game.tournament_id
JOIN championship ON championship.id = tournament.championship_id
JOIN game_series ON game_series.id = game.game_series_id
WHERE game_result_composition.player_id = '2623'
AND tournament.season_id = '7'
GROUP BY tournament.id
ORDER BY tournament.id DESC
| Сезон 2022-2023 |
М |
О |
Ш |
П |
+/- |
ШТ |
2-й Дивизион Регулярное первенство
|
13 |
5 ср.0.4 |
3 ср.0.2 |
2 ср.0.2 |
0 ср.0 |
8 ср.0.6 |
| Соперники |
Дата матча |
О |
Ш |
П |
+/- |
ШТ |
|
Грузманова-Сорокина (Груз 40) - Гранит
|
03 ноября 2022
|
0 |
0 |
0 |
0 |
0 |
|
СК Питер - Грузманова-Сорокина (Груз 40)
|
16 ноября 2022
|
0 |
0 |
0 |
0 |
0 |
|
Грузманова-Сорокина (Груз 40) - Юби
|
24 ноября 2022
|
0 |
0 |
0 |
0 |
0 |
|
Грузманова-Сорокина (Груз 40) - Almaz-friends
|
19 января 2023
|
0 |
0 |
0 |
0 |
2 |
|
Грузманова-Сорокина (Груз 40) - Гранит
|
26 января 2023
|
0 |
0 |
0 |
0 |
0 |
|
СК Питер - Грузманова-Сорокина (Груз 40)
|
01 февраля 2023
|
0 |
0 |
0 |
0 |
0 |
|
Грузманова-Сорокина (Груз 40) - Юби
|
09 февраля 2023
|
0 |
0 |
0 |
0 |
2 |
|
Грузманова-Сорокина (Груз 40) - СК Питер
|
16 февраля 2023
|
0 |
0 |
0 |
0 |
0 |
|
Almaz-friends - Грузманова-Сорокина (Груз 40)
|
19 февраля 2023
|
1 |
0 |
1 |
0 |
0 |
|
Гранит - Грузманова-Сорокина (Груз 40)
|
21 февраля 2023
|
3 |
3 |
0 |
0 |
0 |
|
Грузманова-Сорокина (Груз 40) - СК Питер
|
02 марта 2023
|
1 |
0 |
1 |
0 |
2 |
|
Грузманова-Сорокина (Груз 40) - СК Питер
|
20 апреля 2023
|
0 |
0 |
0 |
0 |
0 |
|
СК Питер - Грузманова-Сорокина (Груз 40)
|
26 апреля 2023
|
0 |
0 |
0 |
0 |
2 |