#where nick_name like '牛客%号' and achievement between 1200 and 2500 #date_format(submit_time,'%Y-%m')='2021-09' #把答题和答卷的,找出来2021-9有活跃的uid合并起来 #用到union 两个列相同的表,按行拼接起来,即去除掉2021-9没有活跃的用户 #再对应到user_info中,找到nick_name like '牛客%号'和成就between 1200 and 2500的用户 select distinct uid,nick_name,achievement from u...