Magento 2 Get order collection using mysql query group by sku
i am trying to get order collection group by sku using sql query. this query is working in my local system but not in my live site. it returns – Uncaught TypeError: Cannot read properties of undefined (reading ‘select’) Following… Read More »Magento 2 Get order collection using mysql query group by sku