oversoul
Computer
- Feb 20, 2005
- 4
I have a table with 5 columns that are named Result, Result2, Result3, Result4, and Result5. The values of the columns are either "Won" or "Lose". I want to count all the values in each column that have "won" and sum them to get a total of all the won values.
This is what I have, and it is returning empty values.
SQL Statement:
SELECT (Count(Result)+Count(Result2)+Count(Result3)+Count(Result4)+Count(Result5)) As Total
From February2005
Where Result= 'Won' and Result2='Won' and Result3='Won' and Result4='Won' and Result5='Won'
This is what I have, and it is returning empty values.
SQL Statement:
SELECT (Count(Result)+Count(Result2)+Count(Result3)+Count(Result4)+Count(Result5)) As Total
From February2005
Where Result= 'Won' and Result2='Won' and Result3='Won' and Result4='Won' and Result5='Won'