Avatar of donnie91910
donnie91910
 asked on

Query - Duplicate dates with different activities counts

I need a query that shows me duplicate dates with a count of different activities on those duplicate dates.
Oracle DatabaseSQL

Avatar of undefined
Last Comment
donnie91910

8/22/2022 - Mon
SOLUTION
Abhimanyu Suri

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
donnie91910

ASKER
also can this be added:

Where one of the records has a Status of Delete
slightwv (䄆 Netminder)

Please provide sample data and expected results.
Abhimanyu Suri

So you just want to check detail of records with delete status ?

Please post an example.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
donnie91910

ASKER
I need to produce a list of facilityID's (group onDuplicate dates and different Activities) that have duplicate Activity Dates with different Activities.
donnie91910

ASKER
I need to produce a list of facilityID's (group on) that have duplicate Activity Dates with different Activities.
Please provide a query that does this.
donnie91910

ASKER
All I need is the FacilityID displayed and the ActivityDate displayed that has the duplicate.  
Thanks in advance.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
Sharath S

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
donnie91910

ASKER
Thanks this worked great!
donnie91910

ASKER
The code worked great.  
Moderator please move  this to Private.