say the cards on the table are 5,6,7,8,9
player #1 has cards 6 and 9
player #2 has cards 2 and queen

who wins?
does it go by the kicker?
or does the player with an actual pair or 2 pairs win?