schweiz3
public text v1 · immutableselect 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
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