This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Find the users first. Added a limit of 1000 to reduce the size of the query. | |
*/ | |
SELECT | |
* | |
FROM | |
wp_users | |
WHERE | |
wp_users.ID NOT IN (SELECT | |
meta_value |