You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2012-09-18 16:49:38

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

Need SQL help for custom report

I am trying to create a report that shows all tickets with 'system edit' in the name and also show validations associated with the tickets.

I have the first part down:

select name,date,closedate,status,content 
from glpi_tickets 
where name like '%system edit%' 
order by closedate

But I do not know how to join the table ticketvalidation.

I'd like to get comment_validation, status, validation_date


Thanks,
Dan

Offline

#2 2012-09-22 16:23:26

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

Re: Need SQL help for custom report

- bump -


Thanks,
Dan

Offline

#3 2012-09-27 15:02:24

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

Re: Need SQL help for custom report

I have solved this - I don't know SQL too well, so I setup a test access db and got the query to work and then copied and modded the sql stmt from that.


Thanks,
Dan

Offline

Board footer

Powered by FluxBB