2
How do I fix this situation?
$q = mysql_query("SELECT *, COUNT(*) as total,
SUM(bolas_agarradas+bolas_espalmadas) as defesas,
SUM(bolas_agarradas+bolas_espalmadas+gols_sofridos) as chances,
SUM(defesas / chances) as porcentual ...
Use values summed in "AS" in the same query
That wouldn’t be in sqlserver ?
– David
David, you’re right, let me tidy up. Thank you!
– Tábata Gonçalves