I have a list that is setup like this from a sql database
Team Name Date Joined
TeamA David June 3
TeamB Mike July 2
TeamC Mark June 7
TeamA Lisa July 2
TeamA Stacy June 7
TeamB Tracy July 2
TeamC Joe June 3
I want to be able to store the list and print all the people and dates joined in TeamA or TeamB or TeamC using javascript. I am not sure how to approach this, was thinking about arrays but don't think that won't reach my goal because not sure how to combine all the items together...does anyone have ideas