登 录
上述例子里,我们在employee_data表里查询title(职务),注意到结果里有许多是重复的。如果我们想得到没有重复的结果,就可以用到mysql的关键字 - DISTINCT
select DISTINCT title from employee_data;
抱歉!评论已关闭.