All pastes #2080228 Raw Edit

schweiz3

public text v1 · immutable
#2080228 ·published 2011-09-07 10:41 UTC
rendered paste body
select aid from (

select count(*) as wieoft,(select count(*)*1.0/ (select count(distinct aid) from rezension) from rezension) as mittel, aid from rezension group by aid

) as unter1 where wieoft > mittel