Skip to main content

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:

$collection->getSelect()->group('e.userid');
Source Link

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');