1
123
Thank you for your help and answer
I have this query:
Company Name Department City
IBM Software Paris
IBM Software Paris
Microsoft Software London
Microsoft Software London
HP Hardware Madrid
HP Hardware Geneva
Oracle Software London
(Where city = Paris or London)
=======================================
I want this Query Convert to
Company Name Department City
IBM Software 2
Microsoft Software 2
HP Hardware 0
Oracle Software 1
My Notes: I want using Group By and Count using Condition (Paris and
London) if the condition not in some company Group the company and display 0
*** If you could the reuslut should be like the above table
I hope You can understand me
I have this query:
Company Name Department City
IBM Software Paris
IBM Software Paris
Microsoft Software London
Microsoft Software London
HP Hardware Madrid
HP Hardware Geneva
Oracle Software London
(Where city = Paris or London)
=======================================
I want this Query Convert to
Company Name Department City
IBM Software 2
Microsoft Software 2
HP Hardware 0
Oracle Software 1
My Notes: I want using Group By and Count using Condition (Paris and
London) if the condition not in some company Group the company and display 0
*** If you could the reuslut should be like the above table
I hope You can understand me