public String[][] execSelectQuery(String pSQL){
        String SQL = pSQL;
        
        try{
            Statement stmt = this.con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
            ResultSet rs = stmt.executeQuery(SQL);
            
            rs.last();
            int columns = rs.getMetaData().getColumnCount();
            int rows = rs.getRow();
            
            //System.out.println(rows + " " + columns);
            rs.beforeFirst();
            
            if(columns > 1 && rows > 0){
                this.results = new String[rows][columns];
                while(rs.next()){
                    for(int i = 1; i <= columns; i++){
                        results[rs.getRow()-1][i-1] = rs.getString(i);
                        //System.out.println(rs.getString(i));
                    }
                }               
            }else if(columns == 1 && rows > 0){
                this.results = new String[rows][1];
                while(rs.next()){
                    results[rs.getRow()-1][0] = rs.getString(1);
                    //System.out.println(rs.getString(1));
                }
            }           
        }catch(SQLException e){
            System.out.println(e.getMessage());
        }
        return this.results;
    }