Sql Server Count Based On Condition - Sum Function In Sql Syntax And Cases With Examples Dataflair