public static void display(String tableName){
		
		Statement stmt = null;
		ResultSet rs = null;
		String sql;
		
		try{
			stmt= conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
			if(tableName.toLowerCase().equals("patients")){
				sql = "SELECT * FROM PATIENTS";
				rs = stmt.executeQuery(sql);
				displayPatients(rs);;
			}
			else if(tableName.toLowerCase().equals("employees")){
				sql = "SELECT * FROM EMPLOYEES";
				rs = stmt.executeQuery(sql);
				displayEmployees(rs);
			}
			else if(tableName.toLowerCase().equals("drugs")){
				sql = "SELECT * FROM DRUGS";
				rs = stmt.executeQuery(sql);
				displayDrugs(rs);
			}
			else if(tableName.toLowerCase().equals("prescriptions")){
				sql = "SELECT * FROM PRESCRIPTIONS";
				rs = stmt.executeQuery(sql);
				displayPrescriptions(rs);
			}
			else if(tableName.toLowerCase().equals("schedules")){
				sql = "SELECT * FROM SCHEDULES";
				rs = stmt.executeQuery(sql);
				displaySchedules(rs);
			}
		}catch(SQLException e){
			System.out.println("sql exception in display()");
			System.out.println(e);
		}finally{
			try{
				if(rs!=null)rs.close();
				if(stmt!=null)stmt.close();	
			}catch(Exception e){
				System.out.println("error closing resource within display()");
			}
		}
	}