public List<String> databaseInfo(String columnName) throws SQLException{
            String temp;
            List<String> bankInfo=new ArrayList();
            try{
            databaseConnector=myConnector.getConnection();
            stmnt=(Statement) databaseConnector.createStatement();
            
            SQLQuery="SELECT * FROM familydoctor.bank";
            dataSet=stmnt.executeQuery(SQLQuery);
          
            while(dataSet.next()){
                temp=dataSet.getString(columnName);
                bankInfo.add(temp);
            }
            }
        
            catch(SQLException e){
                System.out.println(e.getMessage());
            }
        
            finally{
                if(stmnt!=null)
                    stmnt.close();
                if(databaseConnector!=null)
                    databaseConnector.close();
            }
        
        return bankInfo;
        }