![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello all, I have inherited this query: SELECT events.eventID AS id, attribute_master.attributeID AS attrib_id FROM events, attribute_master WHERE events.status='8' AND events.eventReview!='' AND events.modlast > 1146470445 AND events.eventID = attribute_master.id AND attribute_master.tableis = 'events' GROUP BY attribute_master.id I thought that every column listed in the SELECT clause would have to be in an aggregate function or mentioned in the GROUP BY...how am I wrong? |
![]() |
| Thread Tools | |
| Display Modes | |
| |