@Test public void testSelectJoin() { String sql = "SELECT id, name FROM test0 JOIN test1 ON test0.id=test1.id where test0.id>10"; Statement statement = parser.createStatement(sql); System.out.println(statement.toString()); }
public Statement createStatement(String sql) { return (Statement) invokeParser("statement", sql, PardSqlBaseParser::singleStatement); }
SqlParser { public Statement createStatement(String sql) { return (Statement) invokeParser("statement", sql, PardSqlBaseParser::singleStatement); } }
SqlParser { public Statement createStatement(String sql) { return (Statement) invokeParser("statement", sql, PardSqlBaseParser::singleStatement); }  }
SqlParser { public Statement createStatement(String sql) { return (Statement) invokeParser("statement", sql, PardSqlBaseParser::singleStatement); }  Statement createStatement(String sql); Expression createExpression(String expression); }
SqlParser { public Statement createStatement(String sql) { return (Statement) invokeParser("statement", sql, PardSqlBaseParser::singleStatement); }  Statement createStatement(String sql); Expression createExpression(String expression);  }