In my query I wrapped the columns with distinct : distinct (extract year..., extract quarter..).In your query you didnt wrap the columns with distinct but you justmentioned it. I guess this is the difference, thanks !
>