fixed for review comments

 * created toSubquerySql() at SelectBuilder.
 * deleted NOP line.