Hi I have a query in Oracle and im not sure if i can do what im looking to do.
I have a query something like below
select tableA.Value, tableB.Value, tableC.Value, tableD.Value
from tableA
join tableB
on ######
join tableC
on #####
join tableD
on #####
I need to limit this result set to only records that have a unique tableA.Value
Can I do a multiple row select and join on multiple tables then some how add something like
GROUP BY tableA.Value
HAVING Count(tableA.Value) = 1)
to the end to limit the rows selected to those with a unique value in one of those rows
#########################EDITSome data to maybe explain better
1234 ABC TEST
2345 BCD TEST
2345 GGG TEST
3456 CDE TEST
4567 DEF TEST
4567 FFF TEST
5678 EFG TEST
desired result set;
1234 ABC TEST
3456 CDE TEST
5678 EFG TEST
I want to limit records to ones that have a unique column 1