my question is a bit complicated
the orange line is a while
color line is also a while
film, you can see that it has been duplicated (I use distinct, you can see that there is a problem)
on the right side of the shopping list is to show the name of the store
and then all the goods in the store
, so I have to print each store name
and then print each corresponding store
I"m completely stuck here now.
my goal is to print as many items as there are in the line
, but only one object in the color box will be fine!
if there is only one item (offline), then everything will be normal.
but if there are more than one item on the offline line, he will reorder more than one item. There are several identical
I would like to explain how to solve it?
how to write if it is a general way of thinking?