To get better coding assistance for SQL, you should specify the SQL dialect that you are using (File | Settings | SQL Dialects or &productName; | Preferences | SQL Dialects).