pull select statement building into a separate, public function so that other, child classes can use it as a basis when building more complex selects