public SELECT(@NonNull String... columns){
  if (columns == null) {
    throw new NullPointerException("SELECT: Columns are null");
  }
  if (columns.length == 0)   throw new IllegalArgumentException("At least on column is required");
  StringBuilder builder=new StringBuilder("SELECT ");
  for (int i=0; i < columns.length; i++) {
    builder.append(columns[i]);
    if (i != (columns.length - 1))     builder.append(", ");
  }
  sql=builder.toString();
}

public SELECT ( @ NonNull String ... columns ) { if ( columns == null ) { throw new NullPointerException ( "SELECT: Columns are null" ) ; } if ( columns . length == 0 ) throw new IllegalArgumentException ( "At least on column is required" ) ; StringBuilder builder = new StringBuilder ( "SELECT " ) ; for ( int i = 0 ; i < columns . length ; i ++ ) { builder . append ( columns [ i ] ) ; if ( i != ( columns . length - 1 ) ) builder . append ( ", " ) ; } sql = builder . toString ( ) ; }
create a < code > select column1 , column2 , . . . from tablename
