I am new to Oracle.
I tried a query in MySQL
and it works fine
select
segment1, description, organization_id
from
apps.mtl_system_items_b
where
organization_id IN (110 , 268, 448)
GROUP BY segment1
HAVING COUNT(DISTINCT organization_id) = 3
But in Oracle
, it says not a group by expression
. What's wrong?
EDIT:-
I want the result like this
organisation_id segment1
110 306145244
268 306145244
448 306145244
110 444444444
268 444444444
448 444444444