First I would like to say this is a great site and the community is even better!

It says not to be afraid to post any question here... so here it goes :P

My hand:

8, Q

Friends hand:

8, J

Community:

7, 8, K, 7, A

We tie with a pair of 8's and 7's... But here is where the confusion starts.

Do I win because Q > J

Or do we split the pot because we both have the Ace in the community?

This would clear up a lot for us.

Thank you for your replies!

EDITED in the pair of 7's