Categories
Latest version
v0.2.0
Updated on
Aug 10, 2022
Issues
30
version = 1
[[analyzers]]
name = "sql"
enabled = true
Anti-pattern
5
Bug risk
3
Style
22
Keywords should not be used as identifiers.
References should be qualified if SELECT
has more than one referenced table/view. NB: Except if they’re present in a USING
clause.
Tables should not be aliased if that alias is not used. An usused alias makes code harder to read without changing any functionality.
Table aliases should be unique within each clause. It is recommended to name the aliases differently.
It is recommended to use explicit AS
clause for column expressions.