An unqualified column exists in more than one table of the query

tx0/sql:ambiguous-columnrecommendederrorreliability/logicdepth fastbug

What it finds

SELECT id FROM orders JOIN customers ON ... where both tables, as the file creates them, have a column id: the database cannot tell which is meant and rejects the query.

From the rule's source, ambiguous_column.rs.

Turn it on, off or suppress it

The rule runs from the recommended tier up. To turn it on in a lower tier, give it a level in tx0.toml:

tx0.toml
[rules]
"tx0/sql:ambiguous-column" = "error"

To keep one finding, suppress it with a reason: tx0 suppress ID --reason "..." writes the comment for it.

tx0 explain tx0/sql:ambiguous-column shows the same in the terminal. Found a false positive? Report it.