select distinct name,age from t1; # 针对查找出来的结果整行(记录)进行去重,也就是相同名字只保存一个
注意点:distinct 必须放在查询列的第一个(放后面就会报错)