Guest User

Untitled

a guest
May 24th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.37 KB | None | 0 0
  1.             SELECT
  2.                 `btp`.`player_id`
  3.                 ,`btp`.`team_id`
  4.                 ,`btp`.`deserter`
  5.                 ,`btp`.`ip_address`
  6.                 , COUNT(*) AS deaths
  7.             FROM
  8.                 `battleground_teamplayers` `btp`
  9.             LEFT JOIN
  10.                 `custom_pvp_deaths` `d`            
  11.             ON
  12.                 `d`.`player_id` = `btp`.`player_id`
  13.             WHERE
  14.                 `btp`.`battleground_id` = 2111
  15.                 AND `d`.`ref_id` = 2111
  16.             GROUP BY
  17.                 `d`.`player_id`
Add Comment
Please, Sign In to add comment