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.
ParenthesedSelect
Alias
1 parent 8c05188 commit a510f13Copy full SHA for a510f13
src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt
@@ -2280,6 +2280,7 @@ Select Select() #Select:
2280
Offset offset = null;
2281
Fetch fetch = null;
2282
WithIsolation withIsolation = null;
2283
+ Alias alias = null;
2284
}
2285
{
2286
(
@@ -2290,7 +2291,7 @@ Select Select() #Select:
2290
2291
|
2292
LOOKAHEAD(3) select = Values()
2293
- LOOKAHEAD(3) select = ParenthesedSelect()
2294
+ LOOKAHEAD(3) select = ParenthesedSelect() [ LOOKAHEAD(2) alias = Alias() {select.setAlias(alias);} ]
2295
)
2296
[ LOOKAHEAD(2) select = FromQueryFromSelect(select) ]
2297
[ LOOKAHEAD(2) select = SetOperationList(select) ]
0 commit comments