Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...It is good to know that there are groups such as this willing to share knowledge in this money driven economy..."

Geography

Where in the world do Tek-Tips members come from?
010301 (TechnicalUser)
10 May 12 9:06
hi there i have the following code but need the results so it groups the agents names so i dont get mutiple entrys of one agent in my data.

i have the following code

SELECT `Weekly Counts by Team Name`.`Date of Call`, `Weekly Counts by Team Name`.`Agents Name`, `Weekly Counts by Team Name`.`Team Manager Name`, `Weekly Counts by Team Name`.Method, `Weekly Counts by Team Name`.Outcome, `Weekly Counts by Team Name`.CountOfOutcome
FROM `Weekly Counts by Team Name` `Weekly Counts by Team Name`
WHERE (`Weekly Counts by Team Name`.`Date of Call` Between ? And ?) AND (`Weekly Counts by Team Name`.`Team Manager Name`='managers name)

i would be greatful if someone could help me ...
combo (TechnicalUser)
10 May 12 9:09
SELECT DISTINCT ...

combo

010301 (TechnicalUser)
10 May 12 9:31
were would i put that within my code, im new to all this ya see...
combo (TechnicalUser)
10 May 12 9:46

Just add DISTINCT after SELECT in your sql string.

combo

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close