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 8b0b865 commit bc8dcbbCopy full SHA for bc8dcbb
src/net/sf/jsqlparser/util/deparser/ExpressionDeParser.java
@@ -248,7 +248,10 @@ public void visit(SubSelect subSelect) {
248
}
249
250
public void visit(Column tableColumn) {
251
- String tableName = tableColumn.getTable().getWholeTableName();
+ String tableName = tableColumn.getTable().getAlias();
252
+ if (tableName == null) {
253
+ tableName = tableColumn.getTable().getWholeTableName();
254
+ }
255
if (tableName != null) {
256
buffer.append(tableName + ".");
257
0 commit comments