What it means
A column name or alias in your SQL does not exist or is spelled wrongly.
Common causes
- Typo in a column name
- Column belongs to a different table
- Quoted lower-case column names created with double quotes
How to fix it
- Check the table definition:
DESC <table> - Fix the spelling or table alias
- If the column was created with double quotes, use the exact same case in double quotes
How to prevent it
Avoid quoted identifiers and use consistent naming.
Still stuck? Ask the community in Q&A.