python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
CASE STATEMENT + COUNT function not working - SQL Big Query
when i run this code it does not seem to be working in big query...
SELECT date,
COUNT(CASE WHEN product = "fan" AND product color = "white"
THEN product_co...
Laura Choi
Votes: 0
Answers: 0
Way to prevent case statement from excluding values?
i'm pretty new to the sql world and i've seem to run into a roadblock. Multiple conditions seems to be a regular question but I couldn't find a thread on my current problem. I'm using google data stud...
J Jo
Votes: 0
Answers: 1