Group By clause causing error

前端 未结 4 679
青春惊慌失措
青春惊慌失措 2021-01-27 04:35

So here is the context : Developping an ASP.NET MVC 4 web app, I have in my database a table ProductAllocations which is composed of 2 foreign keys : one from m

4条回答
  •  情歌与酒
    2021-01-27 05:07

    You do not have to use aggregate functions with Group By, however any column not being subjected to an aggregate function, but still selected, will need to be contained in the Group By

    What exactly are you trying to do with this query?

提交回复
热议问题