Are these two queries the same - GROUP BY vs. DISTINCT?

前端 未结 8 1771
無奈伤痛
無奈伤痛 2021-01-05 07:38

These two queries seem to return the same results. Is that coincidental or are they really the same?

1.

SELECT t.ItemNumber,
  (SELECT TOP 1 ItemDes         


        
8条回答
提交回复
热议问题