Extended SELECT method + added AND/OR operator