Skip to content
Advertisement

how to get the count of data based on status id in sql

but i want the result like following

i am using the following query:

any help.

thank you. Sudha.

Advertisement

Answer

You can count statuses 2 and 3 together like so:

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement