mysql - Trying to return student's GPA during given timespan by Creating a function receiving error message expecting (;) and I have semicolon stating end -



mysql - Trying to return student's GPA during given timespan by Creating a function receiving error message expecting (;) and I have semicolon stating end -

my input parameters studentid int, classstartdatestart datetime, classstartdateend datetime. trying output gpa classes taken pupil within classstartdatestart , classstartdateend.

function script below:

create function `totalassignmentgrades` (studentid int,classstartdatestart datetime, classstartdateend datetime) returns integer begin declare startdate datetime; declare classgpa dec select studentid; receiving error stating expecting (;) student_classes startdate between '2012-01-01' , '2012-12-31';

could please tell me missing retrieve numbers gpa pupil during given date line. homecoming (*);

mysql function

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -