SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 25th, 2004, 10:51 AM
Frogger Frogger is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 3 Frogger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Call Activity by Equipment Type in Percent

Not sure how to ask this but I need help developing a query that will give me the following information:: Number of
incidents, type of equipment incident was from and display this information as a percentage.
The table names are IncidentID, EQUIPMENT_TYPE_NAME_NV, NumEvents, and HoursOpen

This is from a pie chart that is broken into five pieces. LaserB/W, Laser Color, MFD-copyprint, Fax, and Inkjet Color.

Thbe chart is depicting the IncidentID as a percentage.

The query I am using is:

Select IncidentID, EQUIPMENT_TYPE_NAME_NV, NumEvents, HoursOpen
from DW_Incident_V I
where CustomerCompanyID = 1 and
DateCreated >= '01/01/2000' and
DateCreated <= '08/01/2004' and Model_NV is not null
group by I.IncidentID, I.Equipment_Type_Name_NV, I.NumEvents, I.HoursOpen

but...it only gives me collumns: IncidentID, Equipment_Type_Name_NV, and NumEvents

I know this is kind of off the wall but I thought I'd give you all a chance at it anyway. If you need any more info feel free to ask.


TIA, Frogger

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Call Activity by Equipment Type in Percent


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT