Skip to content

Commit

Permalink
修复高斯数据库生成错误.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanjerry authored and nieqiurong committed Oct 29, 2020
1 parent ee10601 commit 921a8e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public class GaussQuery extends AbstractDbQuery {

@Override
public String tablesSql() {
return "SELECT DISTINCT T1.TABLE_NAME,T2.COMMENTS AS TABLE_COMMENT FROM USER_TAB_COLUMNS T1 " +
"LEFT JOIN USER_TAB_COMMENTS T2 ON T1.TABLE_NAME = T2.TABLE_NAME WHERE 1=1 ";
return "SELECT * FROM (SELECT DISTINCT T1.TABLE_NAME,T2.COMMENTS AS TABLE_COMMENT FROM USER_TAB_COLUMNS T1 " +
"LEFT JOIN USER_TAB_COMMENTS T2 ON T1.TABLE_NAME = T2.TABLE_NAME ) a WHERE 1=1 ";
}

@Override
Expand Down

0 comments on commit 921a8e0

Please sign in to comment.