Teradata Database Message 3574 - 3574 - Analytics Database - Teradata Vantage

Analytics Database Messages

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
15.xx,16.xx,17.xx
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-01-05
dita:mapPath
sfx1628096178347.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-1096
lifecycle
latest
Product Category
Teradata Vantageā„¢
Message
Illegal clause or aggregation in a SELECT with no table accessed.
Explanation
An ORDER BY, GROUP BY, HAVING, or WITH clause, or an aggregate function, such as MIN, MAX, or COUNT, has been used in a SELECT which does not access a table. The listed clauses and aggregate functions are meaningful only for SELECT statements which access at least one table. Zero table selects are also prohibited in FastExport mode.
Generated By
OPT modules.
For Whom
End User.
Notes
None
Remedy
Change the query to access a table or remove the invalid clause or clauses.