MySQL分组查询-组内多条件优先级查询答:如果只是单纯你给的数据的话。创建表:create table test(uid int,targer varchar(1),status int,date date);insert into test values (1,'A',0,'2018-02-01');insert into test values (1,'B',1,'2018-01-01');insert into test values (2,'A',0,'2018-02-01');insert into test...