I am currently studying course Programming 2. In lesson (summarizing data), challenge practice. I am confused about code: if First.ParkName=1 and Last.ParkName=1
then output singleState;
else output multiState; The question and answer are following: For my understanding, first.parkname=1 means the first occurrence of one unique parkname, last.parkname=1 means the last occurrence of that unique parkname. If we want create a table with unique parkname, we need to use fist.parkname=1 to collect all unique name. If we combine those two statement together, thus the unique name will be duplicate, which occur twice in the output table. Here is my concerns. Please help to figure out my confusion. Thanks so much.
... View more