This repository demonstrates a common SQL query error related to handling NULL values and ambiguous column names. The bug.sql file contains a query that produces ...
The CreateTitle query INSERT INTO titles (id, name, author_id) VALUES ($1, $2, (SELECT author_id FROM authors WHERE name = $3)); is flagged: query.sql:22:95: column ...