private int getColNumber(String col) {

		String table = null;
		if (col.contains(".")) {
			table = col.split("\\.")[0];
			col = col.split("\\.")[1];
		}
		if (table == null) {
			return -1;
		}

		int count = 0;
		for (CreateTable ct : Main.ct) {

			String t1 = ct.getTable().toString();

			if (t1.equalsIgnoreCase(table)) {

				for (Object s : ct.getColumnDefinitions()) {
					String col_defn = s.toString();

					if (col_defn.contains(col)) {
						return count;

					}

					count++;
				}

			}
		}
		return -1;
	}