The table name is \"OrderDetails\" and columns are given below:
OrderDetailID || ProductID || ProductName || OrderQuantity
I\'m trying to s
==EDIT==
I checked your question again and have concluded this can't be done.
ProductName is not unique, It must either be part of the Group By or excluded from your results.
For example how would SQL present these results to you if you Group By only ProductID?
ProductID | ProductName | OrderQuantity
---------------------------------------
1234 | abc | 1
1234 | def | 1
1234 | ghi | 1
1234 | jkl | 1