select hist_line1[15,22], hist_line5[50,58], hist_extn, hist_pargrp, hist_extgrp, hist_jobno, hist_date, hist_time, hist_name, hist_updno, hist_updop, hist_line0, hist_line1, hist_line2, hist_line3, hist_line4, hist_line5 from dirhist where hist_updop matches "[m]" and hist_date >= "16/10/2008" and hist_date <= "16/10/2008" and hist_time = "10:37:04" and hist_extn = 57005 and hist_line5[50,58] != hist_pargrp order by hist_date, hist_time