Jump to content

Tricky conecept, can it be done?


gorgon2k

Recommended Posts

OK here's what i need to do. I have a table of tickets for a tech company. they want a report that shows how many ticket each tech has in order of most to least. so say there's 12 tech. the query(s) need to be able to take each individual tech, output their amount of tickets and sort them in order of most tickets. how would I go about this. Any idea?

Link to comment
https://forums.phpfreaks.com/topic/218856-tricky-conecept-can-it-be-done/
Share on other sites

dan, thanks for the help. It seems that you have two seperate tables in your query.. all this info is contained in one...

 

it's structured like

 

Name

Ticket Id

Bob D

98678

Bob D

43256

Bob D

534534

Jim B

098098

Jim B

654675465

Mike T

5345gfd

 

 

So basically i'd need to get an output like

 

Bob D

3

Jim B

2

Mike T

1

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.