1, 选择一列不重复的值
select distinct field_name from table_name
博客介绍了在SQL中选择一列不重复值的方法,通过使用“select distinct field_name from table_name”语句可实现从指定表中选取某列的唯一值。
1, 选择一列不重复的值
select distinct field_name from table_name
4583

被折叠的 条评论
为什么被折叠?