private void doRunstats(String tableName) {
		Table table = null;
		for (Table t : tables)
			if (tableName.equalsIgnoreCase(t.getTableName())) {
				table = t;
				break;
			}
		
		if (table == null) {
			out.println("Table " + tableName + " does not exist in the database");
		}
		
		table.setTableCard(table.getData().size());
		for (int j = 1; j <= table.getNumColumns(); j++) {
			Column column = table.getColumns().get(j - 1);
			String loKey = table.getCell(0, j);
			String hiKey = table.getCell(0, j);
			
			HashSet<String> h = new HashSet<String>();
			int d = 0;
			h.add(table.getCell(0,  j));
			for (int i = 1; i < table.getData().size(); i++) {
				String s = table.getCell(i, j);
				
				if (!h.contains(s)) {
					h.add(s);
				} else continue;
				
				if (s.contains("-")) {
					d = 1;
					continue;
				}
				
				if (loKey.compareToIgnoreCase(s) > 0) {
					loKey = s;
				}
				if (hiKey.compareToIgnoreCase(s) < 0) {
					hiKey = s;
				}
			}
			
			column.setLoKey(loKey);
			column.setHiKey(hiKey);
			column.setColCard(h.size() - d);
		}
		
	}