difference between inquiry and trial