Skip to content

[FORMATTING] Modulo Operator Formatting issue #578

Description

@Syntax-Read3r

Input data

Which SQL and options did you provide as input?

SELECT title, released_year
FROM books
where
released_year >= 2000
AND (released_year % 2) != 0;

Returned Error
Unable to format SQL: Error: Parse error: Unexpected "% 2) != 0;" at line 87 column 24

  • How are you calling / using the library?
  • What SQL language(s) does this apply to? MySQL
  • Which SQL Formatter version are you using? MySQL v8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions