Druid SQL multiple nested subqueries

Good afternoon, I was wondering if Druid supports multiple nested subqueries? Because I’ve tried with only 1 subquery and it worked but when I added another subquery on top of that subquery I get an exception… Is it safe to assume that druid doesnt support multiple nested subqueries?

Thanks and my regards,

João Peres