→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎03-16-2018 08:16 PM
Select Count(htblticket.ticketstateid) As 'total', htblticketstates.statename
From htblticket
Full Outer Join htblticketstates On htblticketstates.ticketstateid =
htblticket.ticketstateid
Where ((htblticketstates.ticketstateid = '2') Or
(htblticketstates.ticketstateid = '3') Or
(htblticketstates.ticketstateid = '4') Or
(htblticketstates.ticketstateid = '8') Or
(htblticketstates.ticketstateid = '10')) And
(htblticket.tickettypeid != '14')
Group By htblticketstates.statename
‎03-26-2018 05:09 PM
‎03-26-2018 03:46 PM
Select Top 1000000 Count(htblticket.ticketid) As Count,
htblticketstates.statename
From htblticket
Right Join htblticketstates On htblticketstates.ticketstateid =
htblticket.ticketstateid
Group By htblticketstates.statename
‎03-23-2018 01:40 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now