(求教)找出数据库中某一个属性不一样的字段 找出数据库中某一个属性不一样的字段??就是在数据库中某个属性有很多行是一样的,我现在想知道有多少个不一样的?谢谢回答! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select distinct 字段 from table1 数据库中?还是数据表啊?假设这个列为COL create table test (select col,count(*) as c from tb group by col ) select count(*) as col_numfrom (select * from test t where exists(select * from test where t.col=col and t.c>c)) k select distinct 字段 from table1 限制数据大小 mysql安装问题请高手解答 bash :mysql : command not found PHPMyAdmin 访问被拒绝 如何解? 关于linux下直接拷贝myisam类型表备份的问题!!急~~~~~ mysql在行命令下操作命令错误就鸣叫,太恶心了吧?能去掉ma 再送100分,mysql同时访问的问题 mysql的group_concat函数问题 mysql支不支持中文? 菜鸟问题,求一条查询语句 同台机器上的不同mysql 服务 能否做2个my.cnf 已经使用各种方法多次修改mysql密码依然出现1045错误
还是数据表啊?
假设这个列为COL create table test (select col,count(*) as c from tb group by col ) select count(*) as col_num
from (
select * from test t where exists(select * from test where t.col=col and t.c>c)
) k