We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submitted by: Michael Trowe (bubble76)
Votes: 6
Using the column-alias works in the group-by clause but not in the having-clause.
Example:
select FIELD_1 "FIELD1", sum(MY_FIELD) "SUM_FIELD" from MY_TABLE group by "FIELD1" having "SUM_FIELD" > 0
The text was updated successfully, but these errors were encountered:
Commented by: Maycon Ferraca (ferraca)
Extend syntax allowing that columns aliases can be referenced in WHERE clause and in another columns aliases. Following the example:
SELECT RDB$RELATION_ID AS ID, 'id: ' || ID FROM RDB$RELATIONS WHERE ID = 1;
Sorry, something went wrong.
Workflow: jira [ 11125 ] => Firebird [ 14677 ]
summary: Column-alias in having-clause => Allow Column alias in HAVING clause
No branches or pull requests
Submitted by: Michael Trowe (bubble76)
Votes: 6
Using the column-alias works in the group-by clause but not in the having-clause.
Example:
select FIELD_1 "FIELD1", sum(MY_FIELD) "SUM_FIELD"
from MY_TABLE
group by "FIELD1"
having "SUM_FIELD" > 0
The text was updated successfully, but these errors were encountered: