plsql cursors group by for loop exclude NULLS

example input :
col1 col2 col3 col4 etc..
A        null    3   null
A         5        null  4
A        6          3      2
B         2         4     1

I should expect output just with record "B". group by  A should be there only if col3 has no NULLS
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
Assuming you want ALL rows/columns give this a try:
select col1, col2, col3, col4 from (
	select col1, col2, col3, col4,
		count(*) over(partition by col1) total_count,
		count(col3) over(partition by col1) col3_count
	from tab1
where total_count=col3_count

Open in new window

If you want something different, please provide expected results with your sample data.
Rajavel67Author Commented:
Thank you This helps !!
slightwv (䄆 Netminder) Commented:
If you need anything else just ask.

If not, don't forget to close the question.

If you need help with that please look here:  How do I close my question?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rajavel67Author Commented:
much pleased !!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.