complete select clause