I don’t know of a plugin that allows you to do this out of the box, but as you are (/seem to be) comfortable with database manipulation, I’ve outlined below how you can achieve what you want using custom coding.
You can run custom queries using the wpdb
-class. There are a few posts on WPSE/SO that treat this. Once you’ve set those up, you can run them on, for example, a custom admin page (a new page in the WordPress Dashboard). There are various tutorials available online (such as this one) that show how that can be done.
Related Posts:
- MySQL Error: : ‘Access denied for user ‘root’@’localhost’
- Access Denied for User ‘root’@’localhost’ (using password: YES) – No Privileges?
- MySQL Error “Operand should contain 1 column”
- How to use MySQL DECIMAL?
- MySQL ERROR 1290 (HY000) –secure-file-priv option
- MySQL server startup error ‘The server quit without updating PID file’
- MySQL DROP all tables, ignoring foreign keys
- Setting up foreign keys in phpMyAdmin?
- Duplicating a MySQL table, indices, and data
- mysql Foreign key constraint is incorrectly formed error
- mysql is not recognised as an internal or external command,operable program or batch
- SELECT * FROM multiple tables. MySQL
- mysql: SOURCE error 2?
- How to avoid MySQL ‘Deadlock found when trying to get lock; try restarting transaction’
- ERROR 1452: Cannot add or update a child row: a foreign key constraint fails
- Data truncated for column?
- MySQL foreach loop
- MySQL IF NOT NULL, then display 1, else display 0
- MySQL date format DD/MM/YYYY select query?
- MySQL Calculate Percentage
- Repair all tables in one go
- Error: select command denied to user ‘
‘@’ ‘ for table ‘ ‘ - Get the new record primary key ID from MySQL insert query?
- #1214 – The used table type doesn’t support FULLTEXT indexes
- importing a CSV into phpmyadmin
- How to change collation of database, table, column?
- Failed building wheel for mysql-python
- ERROR 1115 (42000): Unknown character set: ‘utf8mb4’
- Error Code: 1290. The MySQL server is running with the –secure-file-priv option so it cannot execute this statement
- Remove Primary Key in MySQL
- How to use the keyword ‘references’ in MySQL?
- How to get the max of two values in MySQL?
- select * from table where column = something or, when unavailable, column = something else
- mysql: connection refused when trying to connect to localhost using remote IP
- Error: Duplicate entry ‘0’ for key ‘PRIMARY’
- Why are simple updates to wp_postmeta’s “_edit_lock” so slow?
- What are the recommended database permissions for WordPress?
- Complex meta query with 3 keys
- How to log mysql errors from wordpress core?
- Fulltext search in posts sorted by relevancy
- wpdb Custom Meta Data with 2 conditions
- query to create woocommerce products from images
- Configure WordPress to connect to Mysql DB using SSH tunneling
- How to bulk delete all WordPress subscribers?
- How to Create a Admin User for A WordPress Site via MySQL (PHPMyAdmin)?
- Rewrite database urls
- SQL error #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’ [closed]
- Changing Table Prefix for an Existing WordPresss Site
- Set meta_key and meta_value for all registered user in wordpress using sql query [closed]
- Migrating from Existing MySQL Setup to WordPress
- How to split the a table in database?
- Can I restart MySQL engine when WordPress website is live?
- Why my wordpress loopback traffic while socket is setup?
- How do I join a $wpdb query with user meta using default value if not exist?
- mySQL statment count of post in each category and sub category
- Paypal Post IPN handeling nightmare
- Update or insert meta key value – On Duplicate key update
- Connect to MySQL using Windows Authentication
- Database Structure on Different Servers
- Changing MySQL password via WHM – does this affect WordPress?
- How to get INSERT errors from $wpdb?
- How to set MYSQLI_OPT_INT_AND_FLOAT_NATIVE option
- Export Yoast Keywords from MySQL/phpMyAdmin
- Same database; different WordPress
- How to insert dash (-) into database using wpdb and new_to_publish hook?
- MySQL: How to change url in posts from xxx.com to yyy.org?
- How to fetch all meta_key and meta_value using post_id wihout duplication of post meta using sql query
- WordPress unescape text on mysql?
- Getting data from Mysql Table..confusing
- Upgrade DB Loop – WordPress DB Version Conflict
- WordPress & MySQL , problem with use many array in meta_query
- mysql – Delete keyword with link from wordpress post database
- Creating dynamic content and pages for 1000’s of locations
- Remove duplicate media entries from mysql database
- Button writing to MYSQL database
- In a MySQL query, one of the columns in the LEFT JOIN returns “Unknown column”
- DB option update with wp-cli
- MySQL ‘duplicate entry’ error
- WordPress Dutch characters encoding problem
- How to show result of sql query in a page?
- Why can’t i come back to older working version of php after ugrade with error log on php 7.2 and 7.3
- 403 Forbidden home on localhost with nginx server
- How do I insert content of various MySQL fields in post?
- Select latest 2 articles, but only from given category
- CONCAT_WS in custom sql query
- Query does not filter duplicate _sku numbers
- Ordering topics by most replies in X days using MYSQL statement
- MySQL Select within WP Page template
- #1115 – Unknown character set: ‘utf8mb4’
- wp_postmeta – lot of meta fields
- Running WordPress from MySQL Cluster with HAPRoxy
- Delete posts with word count less than x number of words
- MySQL: get post_tag items that are tags (not SEO keywords)
- $wpdb->get_var returns 0
- cannot log in to the mysql server (wamp and wordpress)
- SQL command to export post_content from wp_posts using phpMyAdmin
- Where other than wp-config can database access details be defined?
- Why does the MySQL command line tool ignore the –port parameter?
- Postgres equivalent to MySQL’s \G?
- Possible SQL injection. How to locate and fix?