I have the following query in SAP HANA. I projected a column that displays 02 results in millions of lines. I would like to count how many of this two results each DISTINCT ZCGNOTAL has.
Please help me.
SELECT ZCGINSTAL,
ZCGNOTAL,
"Latitude",
CASE WHEN "Latitude" > '0' THEN 'ZERADA' ELSE 'COORDENADA' END AS COORD
FROM "CLB162585"."062021MOM"