https://prod.golmanagerpanel.com/api/es/player/listbygame/34007?isIos=true&p=api%2Fes%2Fplayer%2Flistbygame%2F34007&version_app=4.0.6

Query Metrics

137 Database Queries
11 Different statements
200.78 ms Query time
9 Invalid entities

Queries

Group similar statements

# Time Info
1 49.63 ms
SELECT
        *
        FROM
        customer_device
        WHERE
            :token LIKE CONCAT(token,'%') AND
            `status` = 0
Parameters:
[
  "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3MjY5NDkwOTMsImV4cCI6MTcyNjk1MjY5Mywicm9sZXMiOlsiUk9MRV9DVVNUT01FUiJdLCJ1c2VybmFtZSI6InBlam9yb2RvQGhvdG1haWwuY29tIn0.axm67YCr0PTno08WdpJ18ggyBJxnl-C9_c4IN_ffp4Yw080fTLdRuk9H9XsgxS-Zz6MJ3lxeb_T65AkdBw9f9ItTYXAOjT_Tv14eXMxVmLKwNnS5g17i8zXCOMrQpov_3YbmJCzKQAQAGUWQrxqbEqpq7nsKSKfPoNwBQwQ3cDS5yTuYbTKY4RL011RzRjK2xt-RftRk3KFIkcoyLQgOGJpZs8lz9doS_oTcA5gI2sPyH4o4drJltYIXkzj25kVwpeaa2vBdCH6dMIkcubRH6oggrgbp53NQz1vT7YYSzpNY2B66gv9LVYh1cOSq7ehjvvMMzM-lwN_sEQUTKTNiPpF__7YMS6v6BwM46-t3Svj91Zm76dlKB_OCRHt4lKygRk_z_mwFv5pUPoUqs6zMn49Yo47qfnDhv10iWMRBrr7mhmj1yw-ynMemGIrteaw8w-a-4VoRp-QYtL5DqxkePFjHOM99jrulAh08lEPBSJnXTpxwBJvA-BDnHxb0UiY7FXeQvgdg1rJ1pxI5TfDDZI0xEEPkfXmDX858bc-OzFZZE4Ug2i9vPsHEc63Ml1LY0iUq7ksXhMBwMXqUrLi9kCgQ2G6JAhAUjaOSfqkfFygZk7hawFae3cV_p2ng3U49vyLVTVc_p0GiHixNGoq9Mvf4f9KhvuvRjoj1k8SuP1s"
]
2 6.33 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.username AS username_3, t0.roles AS roles_4, t0.password AS password_5, t0.plain_password AS plain_password_6, t0.enabled AS enabled_7, t0.name AS name_8, t0.surname AS surname_9, t0.address AS address_10, t0.celular AS celular_11, t0.image AS image_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.country_id AS country_id_15, t0.season_active AS season_active_16, t0.type_account AS type_account_17, t0.is_pro AS is_pro_18, t0.purchase AS purchase_19, t0.purchase_platform AS purchase_platform_20, t0.membership_id AS membership_id_21, t0.coupon_status AS coupon_status_22, t0.phone AS phone_23, t0.google_auth_code AS google_auth_code_24, t0.google_auth_code_verified AS google_auth_code_verified_25, t0.date_of_birth AS date_of_birth_26, t0.deleted_at AS deleted_at_27, t0.is_deleted AS is_deleted_28, t0.country_id AS country_id_29 FROM customer t0 WHERE t0.email = ? LIMIT 1
Parameters:
[
  "pejorodo@hotmail.com"
]
3 2.29 ms
SELECT t0.id AS id_1, t0.year AS year_2, t0.is_active AS is_active_3, t0.team_id AS team_id_4, t0.customer_id AS customer_id_5, t0.country_id AS country_id_6 FROM season t0 WHERE t0.customer_id = ?
Parameters:
[
  26019
]
4 5.15 ms
SELECT t0.id AS id_1, t0.rival AS rival_2, t0.day AS day_3, t0.date AS date_4, t0.goals AS goals_5, t0.rival_goals AS rival_goals_6, t0.image AS image_7, t0.updated_at AS updated_at_8, t0.shots_goal AS shots_goal_9, t0.shots_opponent AS shots_opponent_10, t0.corners_favor AS corners_favor_11, t0.corners_against AS corners_against_12, t0.penalties_favor AS penalties_favor_13, t0.penalties_against AS penalties_against_14, t0.fouls_favor AS fouls_favor_15, t0.fouls_against AS fouls_against_16, t0.time_match AS time_match_17, t0.category AS category_18, t0.total_shots AS total_shots_19, t0.total_shots_against AS total_shots_against_20, t0.yellow_cards AS yellow_cards_21, t0.yellow_cards_against AS yellow_cards_against_22, t0.red_cards AS red_cards_23, t0.red_cards_against AS red_cards_against_24, t0.current_position_league AS current_position_league_25, t0.opponent_current_position_league AS opponent_current_position_league_26, t0.deleted_at AS deleted_at_27, t0.season_id AS season_id_28, t0.locality_id AS locality_id_29, t30.id AS id_31, t30.game_id AS game_id_32, t0.competition_id AS competition_id_33, t0.alignment_id AS alignment_id_34, t0.rival_alignment_id AS rival_alignment_id_35, t0.pressure_rival_id AS pressure_rival_id_36 FROM game t0 LEFT JOIN convocatoria t30 ON t30.game_id = t0.id WHERE t0.id = ?
Parameters:
[
  "34007"
]
5 10.29 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? ORDER BY t0.dorsal ASC
Parameters:
[
  27088
]
6 2.09 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115393
]
7 6.22 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.image AS image_3, t0.updated_at AS updated_at_4, t0.field_position AS field_position_5 FROM position t0 WHERE t0.id = ?
Parameters:
[
  4
]
8 2.90 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.slug_translation AS slug_translation_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6 FROM position_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  4
]
9 15.19 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115393
]
10 2.69 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115393
  "seasonplayer_id" => 118163
  "alignment" => "%"id":115393%"
  "game_id" => 34007
]
11 0.54 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115393
  19193
]
12 0.62 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  118952
]
13 0.56 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  118952
]
14 0.89 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 118952
  "seasonplayer_id" => 121994
  "alignment" => "%"id":118952%"
  "game_id" => 34007
]
15 0.40 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  118952
  19193
]
16 1.57 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  117780
]
17 0.94 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.image AS image_3, t0.updated_at AS updated_at_4, t0.field_position AS field_position_5 FROM position t0 WHERE t0.id = ?
Parameters:
[
  1
]
18 2.11 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.slug_translation AS slug_translation_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6 FROM position_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  1
]
19 0.74 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  117780
]
20 11.59 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 117780
  "seasonplayer_id" => 120785
  "alignment" => "%"id":117780%"
  "game_id" => 34007
]
21 0.59 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  117780
  19193
]
22 0.58 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  117779
]
23 0.42 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.image AS image_3, t0.updated_at AS updated_at_4, t0.field_position AS field_position_5 FROM position t0 WHERE t0.id = ?
Parameters:
[
  3
]
24 0.49 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.slug_translation AS slug_translation_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6 FROM position_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  3
]
25 0.55 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  117779
]
26 1.16 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 117779
  "seasonplayer_id" => 120784
  "alignment" => "%"id":117779%"
  "game_id" => 34007
]
27 0.41 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  117779
  19193
]
28 0.51 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  117309
]
29 0.45 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.image AS image_3, t0.updated_at AS updated_at_4, t0.field_position AS field_position_5 FROM position t0 WHERE t0.id = ?
Parameters:
[
  6
]
30 0.50 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.slug_translation AS slug_translation_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6 FROM position_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  6
]
31 0.42 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.image AS image_3, t0.updated_at AS updated_at_4, t0.field_position AS field_position_5 FROM position t0 WHERE t0.id = ?
Parameters:
[
  5
]
32 0.47 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.slug_translation AS slug_translation_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6 FROM position_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  5
]
33 0.55 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  117029
]
34 0.52 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  116509
]
35 0.78 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  116509
]
36 0.91 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 116509
  "seasonplayer_id" => 119415
  "alignment" => "%"id":116509%"
  "game_id" => 34007
]
37 0.38 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  116509
  19193
]
38 0.54 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  116474
]
39 0.56 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  116474
]
40 0.89 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 116474
  "seasonplayer_id" => 119380
  "alignment" => "%"id":116474%"
  "game_id" => 34007
]
41 0.38 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  116474
  19193
]
42 0.58 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  116473
]
43 0.54 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  116473
]
44 0.94 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 116473
  "seasonplayer_id" => 119379
  "alignment" => "%"id":116473%"
  "game_id" => 34007
]
45 0.55 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  116473
  19193
]
46 2.64 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  116472
]
47 1.81 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  116472
]
48 0.98 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 116472
  "seasonplayer_id" => 119378
  "alignment" => "%"id":116472%"
  "game_id" => 34007
]
49 0.40 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  116472
  19193
]
50 0.51 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115828
]
51 1.38 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115828
]
52 1.57 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115828
  "seasonplayer_id" => 118717
  "alignment" => "%"id":115828%"
  "game_id" => 34007
]
53 1.87 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115828
  19193
]
54 0.62 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115524
]
55 0.59 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115524
]
56 1.14 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115524
  "seasonplayer_id" => 118366
  "alignment" => "%"id":115524%"
  "game_id" => 34007
]
57 0.39 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115524
  19193
]
58 0.50 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115397
]
59 0.50 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115397
]
60 2.55 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115397
  "seasonplayer_id" => 118167
  "alignment" => "%"id":115397%"
  "game_id" => 34007
]
61 0.45 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115397
  19193
]
62 0.50 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115396
]
63 1.88 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115396
]
64 1.30 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115396
  "seasonplayer_id" => 118166
  "alignment" => "%"id":115396%"
  "game_id" => 34007
]
65 0.44 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115396
  19193
]
66 0.56 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115395
]
67 0.56 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115395
]
68 1.08 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115395
  "seasonplayer_id" => 118165
  "alignment" => "%"id":115395%"
  "game_id" => 34007
]
69 0.39 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115395
  19193
]
70 0.48 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115394
]
71 0.50 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115394
]
72 1.09 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115394
  "seasonplayer_id" => 118164
  "alignment" => "%"id":115394%"
  "game_id" => 34007
]
73 0.36 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115394
  19193
]
74 0.51 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115378
]
75 0.54 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115378
]
76 1.07 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115378
  "seasonplayer_id" => 118148
  "alignment" => "%"id":115378%"
  "game_id" => 34007
]
77 0.37 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115378
  19193
]
78 0.47 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115392
]
79 0.38 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.image AS image_3, t0.updated_at AS updated_at_4, t0.field_position AS field_position_5 FROM position t0 WHERE t0.id = ?
Parameters:
[
  7
]
80 0.38 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.slug_translation AS slug_translation_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6 FROM position_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  7
]
81 0.43 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115392
]
82 0.96 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115392
  "seasonplayer_id" => 118162
  "alignment" => "%"id":115392%"
  "game_id" => 34007
]
83 0.34 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115392
  19193
]
84 0.45 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115391
]
85 0.35 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.image AS image_3, t0.updated_at AS updated_at_4, t0.field_position AS field_position_5 FROM position t0 WHERE t0.id = ?
Parameters:
[
  2
]
86 0.47 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.slug_translation AS slug_translation_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6 FROM position_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  2
]
87 0.55 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115391
]
88 1.12 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115391
  "seasonplayer_id" => 118161
  "alignment" => "%"id":115391%"
  "game_id" => 34007
]
89 0.40 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115391
  19193
]
90 0.41 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115390
]
91 0.37 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115390
]
92 1.04 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115390
  "seasonplayer_id" => 118160
  "alignment" => "%"id":115390%"
  "game_id" => 34007
]
93 0.40 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115390
  19193
]
94 0.48 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115389
]
95 0.49 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115389
]
96 1.10 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115389
  "seasonplayer_id" => 118159
  "alignment" => "%"id":115389%"
  "game_id" => 34007
]
97 0.37 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115389
  19193
]
98 0.53 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115388
]
99 0.52 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115388
]
100 1.08 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115388
  "seasonplayer_id" => 118158
  "alignment" => "%"id":115388%"
  "game_id" => 34007
]
101 0.39 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115388
  19193
]
102 0.48 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115387
]
103 0.48 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115387
]
104 0.85 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115387
  "seasonplayer_id" => 118157
  "alignment" => "%"id":115387%"
  "game_id" => 34007
]
105 0.40 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115387
  19193
]
106 0.39 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115386
]
107 0.43 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115386
]
108 0.80 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115386
  "seasonplayer_id" => 118156
  "alignment" => "%"id":115386%"
  "game_id" => 34007
]
109 0.31 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115386
  19193
]
110 0.37 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115385
]
111 0.48 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115385
]
112 0.84 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115385
  "seasonplayer_id" => 118155
  "alignment" => "%"id":115385%"
  "game_id" => 34007
]
113 0.37 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115385
  19193
]
114 0.45 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115384
]
115 0.50 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115384
]
116 0.97 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115384
  "seasonplayer_id" => 118154
  "alignment" => "%"id":115384%"
  "game_id" => 34007
]
117 0.41 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115384
  19193
]
118 0.50 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115383
]
119 0.52 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115383
]
120 1.15 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115383
  "seasonplayer_id" => 118153
  "alignment" => "%"id":115383%"
  "game_id" => 34007
]
121 0.39 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115383
  19193
]
122 0.52 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115382
]
123 0.55 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115382
]
124 0.89 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115382
  "seasonplayer_id" => 118152
  "alignment" => "%"id":115382%"
  "game_id" => 34007
]
125 1.27 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115382
  19193
]
126 0.48 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115381
]
127 0.47 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115381
]
128 0.82 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115381
  "seasonplayer_id" => 118151
  "alignment" => "%"id":115381%"
  "game_id" => 34007
]
129 0.34 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115381
  19193
]
130 0.43 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115380
]
131 0.42 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115380
]
132 0.83 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115380
  "seasonplayer_id" => 118150
  "alignment" => "%"id":115380%"
  "game_id" => 34007
]
133 0.29 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115380
  19193
]
134 0.37 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.lastname AS lastname_3, t0.age AS age_4, t0.weight AS weight_5, t0.height AS height_6, t0.shoes AS shoes_7, t0.image AS image_8, t0.updated_at AS updated_at_9, t0.skillful_leg AS skillful_leg_10, t0.is_active AS is_active_11, t0.birth_date AS birth_date_12, t0.phone AS phone_13, t0.email AS email_14, t0.number_document AS number_document_15, t0.health_card AS health_card_16, t0.date_of_birth AS date_of_birth_17, t0.medical_review_date AS medical_review_date_18, t0.last_club AS last_club_19, t0.deleted_at AS deleted_at_20, t0.position_id AS position_id_21, t0.secondary_position_id AS secondary_position_id_22, t0.country_id AS country_id_23 FROM player t0 WHERE t0.id = ?
Parameters:
[
  115379
]
135 0.37 ms
SELECT t0.id AS id_1, t0.games AS games_2, t0.goals AS goals_3, t0.yellow_card AS yellow_card_4, t0.red_card AS red_card_5, t0.dorsal AS dorsal_6, t0.is_active AS is_active_7, t0.deleted_at AS deleted_at_8, t0.season_id AS season_id_9, t0.player_id AS player_id_10 FROM season_player t0 WHERE t0.season_id = ? AND t0.player_id = ? LIMIT 1
Parameters:
[
  27088
  115379
]
136 0.83 ms
SELECT
        SUM(IF(gps.id IS NOT NULL AND gps.minutes > 0,1,0)) AS countPlayed,
        SUM(IF(gps.id IS NOT NULL,gps.minutes,0)) AS `minutes`,
        SUM(IF(gps.id IS NOT NULL,gps.red_cards,0)) AS `redCards`,
        SUM(IF(gps.id IS NOT NULL,gps.yellow_cards,0)) AS `yellowCards`,
        SUM(IF(gps.id IS NOT NULL,gps.kilometers_traveled,0)) AS `kilometersTraveled`,
        SUM(IF(gps.id IS NOT NULL,gps.shots_on_goal,0)) AS `shotsOnGoal`,
        SUM(IF(gps.id IS NOT NULL,gps.stolen_balls,0)) AS `stolenBalls`,
        SUM(IF(gps.id IS NOT NULL,gps.penalties_committed,0)) AS `penaltiesCommitted`,
        SUM(IF(gps.id IS NOT NULL,gps.forced_penalties,0)) AS `forcedPenalties`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `isTitular`,
        SUM(IF(gps.id IS NOT NULL,gps.is_titular,0)) AS `titularity`,
        SUM(IF(gps.id IS NOT NULL,gps.goal_assistances,0)) AS `goalAssistances`,
        SUM(IF(gps.id IS NOT NULL,gps.goals,0)) AS `goals`,
        SUM(IF(ga.id IS NOT NULL,1,0)) AS `gameAlignment`,
        COUNT(*) AS convocatory
        FROM
        game g
        INNER JOIN convocatoria c ON g.id = c.game_id
        INNER JOIN convocatoria_player cp ON c.id = cp.convocatoria_id AND cp.player_id = :player_id AND cp.is_active = 1
        LEFT JOIN game_player_statistics gps ON g.id = gps.game_id AND gps.seasonplayer_id = :seasonplayer_id  
        LEFT JOIN game_alignment ga ON ga.id = g.alignment_id AND ga.alignment LIKE :alignment
        WHERE
        g.id = :game_id AND g.deleted_at IS NULL
Parameters:
[
  "player_id" => 115379
  "seasonplayer_id" => 118149
  "alignment" => "%"id":115379%"
  "game_id" => 34007
]
137 0.33 ms
SELECT t0.player_id AS player_id_1, t0.convocatoria_id AS convocatoria_id_2, t0.is_active AS is_active_3, t0.justification_type_id AS justification_type_id_4 FROM convocatoria_player t0 WHERE t0.player_id = ? AND t0.convocatoria_id = ? LIMIT 1
Parameters:
[
  115379
  19193
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\Customer
  • The association App\Entity\Customer#exerciseQualifications refers to the owning side field App\Entity\ExerciseQualification#customer_id which does not exist.
App\Entity\Country No errors.
App\Entity\Season No errors.
App\Entity\Suggestion No errors.
App\Entity\CouponCustomer No errors.
App\Entity\Notification No errors.
App\Entity\ExerciseQualification
  • The association App\Entity\ExerciseQualification#exercise refers to the inverse side field App\Entity\Exercise#qualifications which does not exist.
  • The association App\Entity\ExerciseQualification#customer refers to the inverse side field App\Entity\Customer#exerciseQualification which does not exist.
  • The association App\Entity\ExerciseQualification#exercises refers to the owning side field App\Entity\Exercise#qualifications which does not exist.
App\Entity\Strategy No errors.
App\Entity\Player
  • The field App\Entity\Player#convocatorias is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Convocatoria#players does not contain the required 'inversedBy="convocatorias"' attribute.
  • The association App\Entity\Player#country refers to the inverse side field App\Entity\Country#player which does not exist.
App\Entity\Team
  • The association App\Entity\Team#typeSoccer refers to the inverse side field App\Entity\TypeSoccer#teams which does not exist.
App\Entity\SeasonPlayer
  • The association App\Entity\SeasonPlayer#minutes refers to the owning side field App\Entity\Minutes#player_id which does not exist.
  • The association App\Entity\SeasonPlayer#playerWeights refers to the owning side field App\Entity\PlayerWeight#season_player_id which does not exist.
App\Entity\Game
  • The association App\Entity\Game#minutes refers to the owning side field App\Entity\Minutes#game_id which does not exist.
  • The mappings App\Entity\Game#rival_alignment and App\Entity\GameAlignment#game are inconsistent with each other.
  • The mappings App\Entity\Game#seasonplayer and App\Entity\GamePlayerStatistics#game are inconsistent with each other.
App\Entity\TrainingAsist No errors.
App\Entity\ExerciseCalendar
  • The association App\Entity\ExerciseCalendar#exerciseUser refers to the inverse side field App\Entity\ExerciseUser#exerciseCalendar which does not exist.
App\Entity\PlayerJustification No errors.
App\Entity\Locality No errors.
App\Entity\Convocatoria
  • The association App\Entity\Convocatoria#players refers to the owning side field App\Entity\ConvocatoriaPlayer#convocatoria which does not exist.
App\Entity\Competition No errors.
App\Entity\GameAlignment No errors.
App\Entity\Difficulty No errors.
App\Entity\Minutes No errors.
App\Entity\KilometersTraveled No errors.
App\Entity\ShotsOnGoal No errors.
App\Entity\GamePlayerStatistics No errors.
App\Entity\ConvocatoriaPlayer No errors.
App\Entity\PlayerWeight
  • The mappings App\Entity\PlayerWeight#seasonPlayer and App\Entity\SeasonPlayer#playerWeights are inconsistent with each other.
App\Entity\PlayerSportsInjuries No errors.
App\Entity\Position No errors.
App\Entity\PositionTranslation No errors.
App\Entity\JustificationType No errors.