现在有这样一条SQL语句,
select count(*) sub from (  select distinct bas_ip from t_log_base t where 1=1   and to_char(t.bas_submit,'yyyymm')='200808' and t.BAS_SUBBRANDID ='1000' )
这有一个条件: distinct bas_ip,现在需要:增加一个条件 distinct bas_mobno, 这个SQL 应该怎么写?
谢谢大家了  :)