Suppose that I have a table named order_detail:

As you can see that the data is not duplicate but they might be some error from data source about spacing values in the column Product.
My goal is to make the table like this:

How can I write the query to solve this problem on SQL Server? Thank you!
 
     
    