No comma is needed before "where". Commas could be inserted after "Bolivia" and "flats".
Student or Learner
I found some sentence when I was reading online newspaper about flamingos:
They also live in Argentina, Bolivia and Ecuador where they reside mainly on estuaries, lagoons, mud flats and salt lakes.
I understood like this: They also live in Argentina, Bolivia and Ecuador. And in these countries they resides mainly on estuaries, lagoons, mud flats and salt lakes.
Isn't a comma needed to be put before "where"?
Thank you very much!
It's better with a comma (- a nonrestrictive clause), isn't it?
I would only put one after Bolivia if it's only Ecuador where they live on the flats. That would separate Argentina and Bolivia from Ecuador and leave Ecuador connected to "where they live ...".
I wouldn't put a comma after flats in any scenario.
I still find it all ambiguous. I don't know whether they live on estuaries etc in all three countries or just in Ecuador. The placement of commas wouldn't help.
Remember - if you don't use correct capitalisation, punctuation and spacing, anything you write will be incorrect.