Advertisement

07.08.2008 at 08:28AM PDT, ID: 23547020
[x]
Attachment Details

SQL query

Asked by johnnyg123 in SQL Server 2005

I have attached 2 files.

One contains a sample of some table data.  The other contains the desired query output based on the sample data.

Basically, that table has 3 columns name, call date and reason for calling.  

What I'm trying to do is write a query that will list the previous 4 week end dates (considering sunday the end date) with the issues called in for each of the weeks for a given caller if the caller calls at least 3 times in a given week.



Any help with the query syntax would be greatly appreciated!





Start Free Trial
Attachments:
 
Sample Data
 
 
Report Sample
 
[+][-]07.08.2008 at 10:37AM PDT, ID: 21956121

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Server 2005
Sign Up Now!
Solution Provided By: koutny
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628