There is a lot of good textbooks, but if I had to choose only one, I would indicate ‘Ecology: From individuals to ecosystems’ (Begon et al.). A complementary reference, especially in the case of courses with an emphasis on communities and ecosystems would be ‘The ecology of plants’ (Gurevitch et al.).