SELECT `wp_users` . `ID` , `wp_users` . `user_login` , `wp_users` . `display_name` FROM `wp_users` INNER JOIN `wp_usermeta` ON ( `wp_users` . `ID` = `wp_usermeta` . `user_id` ) WHERE ? = ? AND ( ( `wp_usermeta` . `meta_key` = ? AND `wp_usermeta` . `meta_value` != ? ) ) ORDER BY `display_name` ASC 