Guest User

Untitled

a guest
Aug 17th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. SELECT xfrmact.deleted, template.hid, template.id, template.name, template.component_id
  2. FROM template
  3. INNER JOIN transformations xfrm ON xfrm.template_id = template.id
  4. INNER JOIN transformation_steps xfrmstep ON xfrmstep.transformation_id = xfrm.id
  5. INNER JOIN transformation_task_steps tts ON tts.transformation_step_id = xfrmstep.id
  6. INNER JOIN transformation_activity xfrmact ON xfrmact.hid = tts.transformation_task_id
  7. INNER JOIN template_group_template tgt ON tgt.template_id = xfrmact.hid
  8. WHERE component_id IN ('c4b3ebdd32137419b820ba3ddbd7d141e', 'c25d1206fbd2543fd90f8ce76d363087b') and xfrmact.deleted = 'f';
Add Comment
Please, Sign In to add comment