Created
December 23, 2011 09:53
-
-
Save fightbulc/1513757 to your computer and use it in GitHub Desktop.
User Bet Stats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
b.status, | |
count(b.id) | |
FROM | |
bets AS b | |
WHERE | |
708150929 IN (b.challenger_fbuser_id, opponent_fbuser_id) | |
GROUP by b.status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment