Hello, I don't know who to go about selecting rows from a purchase table and transform the result as shown on the attached picture. I don't even know if this is possible. My boss wants me to get a purchase list showing purchased quantities by date. The first table is self explanatory and the second is how I should format the result. My biggest problem is that the purchase date column is variable for Customer and Product IDs. Can someone please help me to get this list, I would like something that will work always without having to rewrite the query all the time. Thank you in advance.
↧