Interview Query

Design Poker Schema

0
Have you seen this question before?

Design a schema representing a deck of playing cards for playing poker.

  1. For example, if a user is given five cards, how would you query the database to determine what cards you have?

  2. How would you write a query to determine out of nine players, which user has the best five-card hand?

Next question: Testing Price Increase
.....
Loading comments