select a.room_id room_id, room_name, count(distinct user_id) user_count from user_view_tb a inner join room_info_tb b on a.room_id=b.room_id where out_time>='23:00:00' #重点在这!!!! group by a.room_id,room_name order by user_count desc 题目要求统计每个房间在 23:00:00 及以后 有观看记录的用户数(去重)。判断依据:where子句中仅需判断如果离开时间 ou...