public ResultSet getResult(String sql){
        try{
            // Execute SQL query
            result = statement.executeQuery(sql);
            
            
        }catch(SQLException se){
            //Handle errors for JDBC
            se.printStackTrace();
        }
        return result;
    }