W

Walks Leaders

“);
echo(“

“);
echo(“

All Time

“);

$get_Walks_leaders=$conn->query(“SELECT P.nameFirst, P.nameLast, P.finalGame, SUM(B.BB)+SUM(B.IBB) AS Walks FROM `batting` B, `people` P WHERE B.playerID=P.playerID GROUP BY B.playerID ORDER BY Walks DESC LIMIT 500”);

echo(“

“);
while($row=$get_Walks_leaders->fetch_assoc()){
echo(“

“);
}
echo(“

Name Walks Final Game
$row[nameFirst] $row[nameLast] $row[Walks] $row[finalGame]

“);

echo(“

Active

“);

$get_active_Walks_leaders=$conn->query(“SELECT P.nameFirst, P.nameLast, P.finalGame, SUM(B.BB)+SUM(B.IBB) AS Walks FROM `batting` B, `people` P WHERE B.playerID=P.playerID AND (LEFT(P.finalGame,4)=’2019′ OR LEFT(P.finalGame,4)=’2018′) GROUP BY B.playerID ORDER BY Walks DESC LIMIT 500”);

echo(“

“);
while($row=$get_active_Walks_leaders->fetch_assoc()){
echo(“

“);
}
echo(“

Name Walks Final Game
$row[nameFirst] $row[nameLast] $row[Walks] $row[finalGame]

“);

echo(“

“);

?>

Trackback

no comment until now

Sorry, comments closed.