# Pastebin BqTbD7SO my $parent-of-call-q = $!dbh.prepare(q:to/STMT/); select c.id as call_id, c.parent_id as parent_id, c.routine_id as routine_id from calls c where c.id = ?; STMT