Which Umbraco version are you using?
17.2.0-rc.preview
Bug summary
There are still issues in raw sql statements.
This is another part of issue #20453.
Specifics
No response
Steps to reproduce
Will be visible in other database providers e.g. PostgreSQL.
Expected result / actual result
No response