Author: Colm Carew
Updated: Loughlin Moore
to join a form you first join in ticket_change join ticket_change tc on tc.ticket_id = t.id and tc.contents like 'Your Form%' This leads to problems with multiple forms of same names so try this : join ticket_change tc on tc.id = (select max(id) from ticket_change where ticket_id = t.id and contents like 'Your Form%') When joining in a node ie: a network_element, you need to specify its parent id, or else you will end up with multiple rows with the same node name.
select ne.technology, ne.link_checks count(*) from network_element.ne group by ne.technology;
In this example, ne.link_checks should also be included in the group by clause.
Please add to this list as you discover a new gotcha!
ScottyPro Reports FYI