Code Inspection: Missing column aliases
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports queries without explicit aliases in output expressions (for example, in the SELECT statement).
Example (PostgreSQL):
CREATE TABLE foo(a INT, b INT);
SELECT 1, a + 1 AS A2, MAX(b) AS M
FROM foo;
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.