(经典)使用group by出现错误.要注意什么?
select * from Products group by CategoryID 我用的数据库是NorthWind 错误提示: Msg 8120, Level 16, State 1, Line 2 Column 'Products.ProductID' is invalid in the select list because it is not contained in
转载
2013-12-23 16:26:08 ·
2100 阅读 ·
0 评论