SQL

SQL

By DeepSource

Inconsistent styling around string literals SQL-L048

Style
Minor

Quoted literals should be surrounded by a single whitespace.

Bad practice

In this example, there is a space missing between the string 'foo' and the keyword AS.

SELECT
    'foo'AS bar
FROM foo

Recommended

Make the case consistent.

SELECT
    'foo' AS bar
FROM foo