Last active
September 22, 2018 14:31
-
-
Save rwkyyy/8cad5438e4f80293e2b23034c13fe955 to your computer and use it in GitHub Desktop.
clean orphaned _postmeta
This file contains 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
select post_id from wprh_postmeta pm where pm.post_in not in (select ID from wprh_posts) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment