  In this paper, we propose a general method to express explicitly the
inversion and the connection coefficients between two basic hypergeometric
polynomial sets. As application, we consider some $d$-orthogonal basic
hypergeometric polynomials and we derive expansion formulae corresponding to
all the families within the $q$-Askey scheme.
