Summa polja MySQL

1. Андрей (30.09.2009 / 17:00)
K primeru est' tablica "counter" v nej est' DOUBLE pole "count".
Kak poschitat' summu vseh strok polja "count" s pomoschju MySQL (bez php ciklov).

2. Александр (30.09.2009 / 17:02)
$all = mysql_result(mysql_query("SELECT SUM(`count`) FROM `table`;"),0);

URL: https://visavi.net/topics/1123