SQL Server: Count based on Condition(www.sqlservercurry.com)
submitted by
SuprotimAgarwal(715) 1 year, 1 month ago
Many a times, you may want to do a count in SQL Server, based on a condition. The easiest way is to use a combination of SUM and CASE as shown in this example
|category: Database
|Views: 8
tags:
Database another
Everyones tags:
Your Tags: