public class OracleSchemaStatVisitorTest_Subquery extends TestCase {
public void test_0() throws Exception {
String sql = "SELECT id2, name2 FROM (select id, name from users where ROWNUM < 10) a";
OracleStatementParser parser = new OracleStatementParser(sql);
List<SQLStatement> statementList = parser.parseStatementList();
SQLStatement statemen = statementList.get(0);
Assert.assertEquals(1, statementList.size());
OracleSchemaStatVisitor visitor = new OracleSchemaStatVisitor();