public string singleval(string table, string attribute, string where) { return mycon.scalar("SELECT " + attribute + " FROM " + table + " " + where); }