insert into notification_types_intervals (type_id, interval_id) select :type_id, interval_id from notification_intervals insert into notification_types_del_methods (type_id, delivery_method_id) select :type_id, delivery_method_id from notification_delivery_methods