去重查询可以查寻某个表中,某个字段的类别数量和种类
select DISTINCT field_name from tb_name
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/201899.html原文链接:https://javaforall.net
mysql 去重查询去重查询可以查寻某个表中 某个字段的类别数量和种类 selectcount DISTINCTfiel namefrom tb name nbsp selectDISTIN namefromtb name nbsp
去重查询可以查寻某个表中,某个字段的类别数量和种类
select DISTINCT field_name from tb_name
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/201899.html原文链接:https://javaforall.net