CREATE PROCEDURE `spDeleteSubmitHomeWork` ( IN `P_HomeWorkId` INTEGER , IN `P_StudentId` INTEGER ) BEGIN DELETE FROM `thomeworksubmittedanswer` WHERE `HomeWorkId` = `P_HomeWorkId` AND `StudentId` = `P_StudentId` ; SELECT ? ; END 