Created
March 31, 2021 16:05
-
-
Save seebeen/750ea59a02dbb74e2428e4dfde6a454a to your computer and use it in GitHub Desktop.
Useful WP SQL Queries #WordPress
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
/* | |
list all meta keys and count them | |
*/ | |
SELECT meta_key, COUNT(*) FROM `wp_postmeta` group by meta_key ORDER BY `COUNT(*)` DESC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment