It would be the dealers hand (Q, 3) vs the players hand (Q, J). Both would have a straight because the 5 community cards played would be used by both players. Therefore they'd both have a straight. In fact, the community cards alone give both of them a straight. (8, 9, 10, J, Q). You'd understand if you knew poker's rules. :p