title: How to get Select clause's body with JSQLParser
body: <p>I'm using JsqlParser <code>0.8.0</code>.</p>
  
  <p>I have the following string:</p>
  
  <pre><code>String sql = "SELECT table alias FROM table;";
  
  CCJSqlParserManager pm = new CCJSqlParserManager();
  
  Select s = (Select) pm.parse(new StringReader(sql));
  
  System.out.println(s.getSelectBody());
  </code></pre>
  
  <p>I expected the <code>table AS alias</code> to be printed, but the whole <code>sql</code>-query was printed instead. How can I make printing only the <code>SelectBody</code>.</p>