Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Look like your query is okOK. I don't know the structure of table lawer (customer). But, but the last one should be:
$collection->getSelect()->group('e.userid');
$collection->getSelect()->group('e.userid');
Look like your query is ok. I don't know the structure of table lawer (customer). But the last one should be:
$collection->getSelect()->group('e.userid');
Look like your query is OK. I don't know the structure of table lawer (customer), but the last one should be:
Look like your query is ok. I don't know the structure of table lawer (customer). But the last one should be:
$collection->getSelect()->group('e.userid');