by AL Rachels.
Hi Richard,
Look in the mdl_assign_submission table in the status field. You are probably going to want to pay attention to the attemptnumber and latest fields also to be able to determine which submission was the most recent.
AL