Skip to content

RF02 — Ambiguous column; qualify with a table name (needs schema)

Group: References · Auto-fixable: no

The column exists in more than one table in scope, so the reference is ambiguous. Qualify it with the table name or alias.

bad: SELECT id FROM patient JOIN orders ON ...
good: SELECT patient.id FROM patient JOIN orders ON ...

Disable this rule in banshee.toml:

[lint]
exclude = ["RF02"]

Or silence one line with -- noqa: RF02. See Linting.