We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The modulo operator works in Dolt:
> SELECT 2 % 2; +-------+ | 2 % 2 | +-------+ | 0 | +-------+ > SELECT 2 MOD 2; +-------+ | 2 MOD 2 | +-------+ | 0 | +-------+
But the MOD function is missing:
> SELECT MOD(2, 2); function: 'mod, maybe you mean mid or md5?' not found
MySQL reference: https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html#function_mod
The text was updated successfully, but these errors were encountered:
Indeed. From our docs.
I don't think we need a ticket for every one of these. Why did you stumble on it?
Sorry, something went wrong.
The first google result when you search take modulus sql shows this link: https://www.w3resource.com/sql/arithmetic-functions/mod.php#:~:text=SQL%20MOD()%20function%20is,the%20specified%20column%20or%20expression.
take modulus sql
So I tried that.
mod()
No branches or pull requests
The modulo operator works in Dolt:
But the MOD function is missing:
MySQL reference:
https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html#function_mod
The text was updated successfully, but these errors were encountered: