DataGrip
 
Get DataGrip
You are viewing the documentation for an earlier version of DataGrip.

Code Inspection: Duplicating column name in SELECT

Last modified: 13 May 2022

Reports duplicated names of column aliases in SELECT lists.

Example (Sybase ASE):

The x alias name is used for a and b columns. These assignments are highlighted as errors because you cannot use identical alias names for columns in Sybase ASE.