![]() |
Multiple counts from same table
I have that table where I set wins = 1 for winners.
user1 1 user2 0 user3 1 user1 1 user1 0 user2 1 user2 1 user3 0 user2 1 which means that user1 has 2 wins user2 has 3 wins user3 has1 win How can I get a count of total wins per user from the same query? |
|
I did it with SUM(wins) AS userwins
|
All times are GMT. The time now is 10:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|