Query gives error as products.product_slug is not in group by

前端 未结 0 1685
醉酒成梦
醉酒成梦 2020-11-30 18:57

I am creating simple query in laravel which gives error i want sum of sub_total column with product_slug parameter from table

 $items=DB::table(\'carts\')
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题