This should be `->select(array('oauth_sessions.id as session_id', 'oauth_session_authcodes.id as authcode_id'))`.