问题 Im trying to pull all users from the users table who match a certain group in the users_groups pivot table. Im using Sentry 2 from Cartalyst btw. This works to get all users with first and last name concatenated. User::select(DB::raw('CONCAT(last_name, ", ", first_name) AS full_name'), 'id') ->where('activated', '=', '1') ->orderBy('last_name') ->lists('full_name', 'id'); when i try to change it to also filter users who do not belong to a certain group I get a syntax error. User::select(DB: