Fix mysql query group by issue on >5.7
Fix mysql query group by issue on >5.7

amirsanni/Mini-Inventory-and-Sales-Management-System,amirsanni/Mini-Inventory-and-Sales-Management-System,amirsanni/Mini-Inventory-and-Sales-Management-System