Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL calc final grade divide by zero error #9

Open
nunibye opened this issue Jun 1, 2024 · 0 comments
Open

SQL calc final grade divide by zero error #9

nunibye opened this issue Jun 1, 2024 · 0 comments

Comments

@nunibye
Copy link
Collaborator

nunibye commented Jun 1, 2024

select calculate_final_score('aa230a8f-6c48-4a50-aaed-7d6ba7b3e2ac', 'p2ap05pRzLOuAapQQ7n7JH1WVDEMueywUvSwBIXK1PUIGqjCi64dMssuQwOi')

ERROR: 22012: division by zero
CONTEXT: PL/pgSQL function calculate_final_score(uuid,text) line 26 at assignment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant