SQL语句消除表中重复元组

2025-02-26 19:45:06
推荐回答(2个)
回答1:

用distinct 例select distinct 列1 from 表

回答2:

select 列名1,列名2,列名3 from 表名 group by 列名1,列名2,列名3