Hello friends,
SELECT
Count("PHPICK00"."PHPCTL") as CountPHCTL
FROM "IASP1"."WMDIBSF05"."PHPICK00" "PHPICK00"..this works fine in Command.
But I want to direclty do Count("PHPICK00"."PHPCTL") for PHPSTF = 00 or 10.
I like to know how we write for condition. I dont want to use where becaus I want to use PHPSTF = 00 or 10 only ("PHPICK00"."PHPCTL") and I have count another field for different condition.
Thanks for the help.
Reed.
SELECT
Count("PHPICK00"."PHPCTL") as CountPHCTL
FROM "IASP1"."WMDIBSF05"."PHPICK00" "PHPICK00"..this works fine in Command.
But I want to direclty do Count("PHPICK00"."PHPCTL") for PHPSTF = 00 or 10.
I like to know how we write for condition. I dont want to use where becaus I want to use PHPSTF = 00 or 10 only ("PHPICK00"."PHPCTL") and I have count another field for different condition.
Thanks for the help.
Reed.