I need references for
$\sum_{n=0}^N\frac{q^n}{(q^2;q^2)_n(q^2;q^2)_{N-n}}=\frac{(-q,q)_N}{(q^2;q^2)_N}$
and
$\sum_{n=0}^N\frac{(-1)^nq^{n^2}}{(q^2;q^2)_n(q;q)_{N-n}}=\frac1{(q^2;q^2)_N}$
A similar, but trivial identity is
$\sum_{n=0}^N\frac{(-1)^nq^{\binom{n+1}2}}{(q;q)_n(q;q)_{N-n}}=1$
which follows directly from the q-binomial theorem. Given the rough similarity of the left-hand-sides of these identities, I also wonder if these are part of a larger class of identities.

