@Minty's suggestion is correct. However, when using it, you must note the following:
The assigned column alias only has an external effect and partly in the SELECT part of the query.
As a query execution is very different from running through the SQL statement from top to bottom, the column alias is still unknown for operations such as WHERE, GROUP BY, ORDER BY. In these cases, the original expression must be used.
Danke Eberhard,
Mein Deutsch war noch nie besonders gut, abgesehen von der Analyse guter deutscher Biere ist Doppelbock mein Favorit. Mit Hilfe eines Übersetzers konnte ich Ihren ausführlichen Beitrag lesen. Da sind einige tolle Tipps dabei. Vielen Dank, dass Sie mein Verständnis erweitert haben.