public static List<String> getAllTables(String sql, String dbName)
			throws SQLException {
		List<String> list = new ArrayList<String>();
		Statement stt = con.createStatement();
		ResultSet rs = stt.executeQuery(sql);
		while (rs.next()) {
			list.add(rs.getString("Tables_in_" + dbName));
		}
		return list;
	}