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.
Who is Participating?
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.

Abhimanyu SuriDatabase EngineerCommented:
select date_column,activity_column,count(1) from table_name group by date_column,activity_column order by date_column.
donnie91910Author Commented:
also can this be added:

Where one of the records has a Status of Delete
slightwv (䄆 Netminder) Commented:
Please provide sample data and expected results.
Price Your IT Services for Profit

Managed service contracts are great - when they're making you money. Yes, you’re getting paid monthly, but is it actually profitable? Learn to calculate your hourly overhead burden so you can master your IT services pricing strategy.

Abhimanyu SuriDatabase EngineerCommented:
So you just want to check detail of records with delete status ?

Please post an example.
donnie91910Author Commented:
I need to produce a list of facilityID's (group onDuplicate dates and different Activities) that have duplicate Activity Dates with different Activities.
donnie91910Author Commented:
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.
donnie91910Author Commented:
All I need is the FacilityID displayed and the ActivityDate displayed that has the duplicate.  
Thanks in advance.
SharathData EngineerCommented:
  FROM your_table

Open in new window

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
donnie91910Author Commented:
Thanks this worked great!
donnie91910Author Commented:
The code worked great.  
Moderator please move  this to Private.
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
Query Syntax

From novice to tech pro — start learning today.