Need help in rewriting the query
The original query is given below: SELECT id ,COUNT(A_NO) AS count FROM table1 WHERE date = ‘2022-02-02’ AND p_no IS NOT NULL GROUP BY id; I need to rewrite the above query by not using p_no IS NOT NULL condition in the WHERE clause. So I tried the below 2 queries but they are taking… Read More Need help in rewriting the query