Esquece o join que disse acima, Entao se eu rodo a tabela que tenho aqui a data vem em ano, mes e dia, porem quero transformar ela so pra ano e mes exemplo 2015/01 ao inves de 2015/01/01...
olha minha query abaixo(a data e o "gross_arrv_date") :
sel
customer_counterparty,
gross_arrv_date,
Sum(bi_gross_loss),
Sum(pp_merch_gross_loss),
Sum(pp_unauth_gross_loss),
Sum(pp_nsf_gross_loss),
Sum(pp_hr_gross_loss),
Sum(pp_other_gross_loss),
Sum(pp_unauth_net_loss),
Sum(pp_merch_net_loss),
Sum(pp_net_loss)
from pp_oap_seller_bi_v.bi_loss_detail_base
where gross_arrv_date between '2015/03/01' and '2016/03/01'
and customer_counterparty in ('2156558192642916204',
'2146627644667037144',
'2217235177822996410',
'1956506949855928300',
'1600068705093591637')
group by 1,2