Thread array of hashes: auswerten (4 answers)
Opened by bo at 2006-12-15 16:53

pq
 2006-12-15 17:00
#72576 #72576
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
direkt mit sql in etwa so:
[sql]SELECT utterance, count(*) AS anzahl, sum(score) AS sum_score,
min(score) AS min_score, max(score) AS max_score
from ... group by utterance[/sql]

edit: typo\n\n

<!--EDIT|pq|1166194978-->
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread array of hashes: auswerten