SQL

SQL

Made by DeepSource

Misaligned closing bracket SQL-L018

Style
Minor

WITH clause closing bracket should be aligned with WITH keyword.

Recommended

WITH foo AS (
    SELECT
        bar.val AS value
    FROM test AS bar
    )

Bad practice

WITH foo AS (
    SELECT
        bar.val AS value
    FROM test AS bar
)