We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ff9fb commit 469190dCopy full SHA for 469190d
src/main/java/net/sf/jsqlparser/statement/select/ParenthesedSelect.java
@@ -75,6 +75,9 @@ private static Alias getAliasFromItem(FromItem fromItem) {
75
if (fromItem instanceof Table && fromItem.getAlias() == null) {
76
Table t = (Table) fromItem;
77
return new Alias(t.getName(), true);
78
+ } else if (fromItem instanceof TableFunction && fromItem.getAlias() == null) {
79
+ TableFunction t = (TableFunction) fromItem;
80
+ return new Alias(t.getName(), true);
81
} else {
82
return new Alias(fromItem.getAlias().getName(), true);
83
}
0 commit comments