pgSQL query error
Posted
by running4surival
on Stack Overflow
See other posts from Stack Overflow
or by running4surival
Published on 2010-05-14T17:27:53Z
Indexed on
2010/05/14
17:44 UTC
Read the original article
Hit count: 192
i tried using this query:
"SELECT * FROM guests WHERE event_id=".$id." GROUP BY member_id;"
and I'm getting this error:
ERROR: column "guests.id" must appear in the GROUP BY clause or be used in an aggregate function
can anyone explain how i can work around this?
© Stack Overflow or respective owner