Finishing SQL Select for standard dialect