public static void recommend(String key, String tableName){
		Connection conn = null;
		Statement stmt = null;
		try {
			Class.forName(JDBC_DRIVER);
			conn = DriverManager.getConnection(DB_URL + tableName, user, pswd);
			stmt = conn.createStatement();
			String search = "SELECT title, menu, recipe FROM " + tableName;
			ResultSet res = stmt.executeQuery(search);
			String menu;
			String recipe;
			while(res.next()){
				menu = res.getString("menu");
				recipe = res.getString("recipe");
				if(menu.toLowerCase().contains(key) || recipe.toLowerCase().contains(key)){
					System.out.println(menu + " from " + res.getString("title"));
				}
			}

			//			System.out.println("finish searching");
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}