Please create a simple table such as CREATE TABLE PUBLIC.DEMO(TEXT VARCHAR(1024) PRIMARY KEY);
Then try SELECT *, LENGTH(TEXT) FROM DEMO;
And there is an error
'duplicate column name in derived table'.
When you use the unqualified wildcard, you cannot add another column to the SELECT list. Qualified wildcards are allowed multiple times or in addition to other columns.
SELECT DEMO.* , LENGTH(TEXT) FROM DEMO;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you use the unqualified wildcard, you cannot add another column to the SELECT list. Qualified wildcards are allowed multiple times or in addition to other columns.
Alright thanks. I thought that was allowed in SQL.