不在乎选择什么,而在乎坚持多久……
select a ,b from t where a in (select distinct a from t)select a,min(b) as b from t group by a写sql语句实现下列查询(表)ta b(列)1 21 3 1 42 12 23 14 15 35 2查询结果要求a b1 22 13 1 4 15 2
Powered by: IT博客 Copyright © KiMoGiGi