Let $X$ be a second countable metrizable space and $\mathcal{G}$ a subbase for the topology of $X$. Show that $\mathcal{G}$ generates $\mathcal{B}_X$, the Borel $\sigma$-algebra of $X$. Also show that this need not be true.
How to show that something generates something?