Refactored Select-Statement.