mmorgensen
MIS
I have this query
Select company, count(ticketnumber) as counter From Tickets group by company
It runs and I get this
Company counter
1 5
2 6
3 4
Now I need to pull data from the Company table, and match the company field from the above table. My company table is like this:
ID NAME
1 company1
2 company2
3 company3
I would like this end result.
Company counter name
1 5 company1
2 6 company2
3 4 company3
Rookie to SQL, tried this for the last hour and could not get it to work
thanks!
mm
Select company, count(ticketnumber) as counter From Tickets group by company
It runs and I get this
Company counter
1 5
2 6
3 4
Now I need to pull data from the Company table, and match the company field from the above table. My company table is like this:
ID NAME
1 company1
2 company2
3 company3
I would like this end result.
Company counter name
1 5 company1
2 6 company2
3 4 company3
Rookie to SQL, tried this for the last hour and could not get it to work
thanks!
mm