..snip snip > >ORDER BY fld_team_score DESC; > It's not specifically about youre error but this order by is surely redundant and just slows down the query. Matthew
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных