Hi! I am having this trouble:
When I run this query:
SELECT
code,
COUNT(*) AS count_values
FROM table
WHERE x = 'ABC'
AND {{date}}
AND y = {{code}}
AND z = 1
group BY 1
This is the result:
But when I run this query:
SELECT
COUNT(*) AS count_values
FROM table
WHERE x = 'ABC'
AND {{date}}
AND y = {{code}}
AND z = 1
My result becomes this:
Is there any way to get the second result with the first query? I need the zero result.