You can try this:
Select [htblhistory].userid, htblticket.ticketid, htblusers.name, htblusers.department from htblticket
inner join [htblhistory] on htblticket.ticketid = [htblhistory].ticketid
inner join htblusers on [htblhistory].userid = htblusers.userid
inner join [htblhistorytypes] on [htblhistorytypes].typeid = [htblhistory].typeid
where [htblhistorytypes].name = 'Ticket created'