HTS AI Database Analytics
Ask a question about your WordPress data, inspect the proposed SQL and run the report on your own site.
WordPress pluginPrivate beta
From a question to inspectable SQL.
- Choose the fields
- Select the tables and columns the question needs, including custom plugin tables. The proposal request shares your question and the selected schema with OpenAI.
- Review the proposed report
- Read the assumptions, joins and filters before running anything. The plugin constructs the SQL locally so an administrator can inspect the exact query.
- Run and export
- The private beta runs on a single WordPress site and returns up to 200 rows per report. Result rows stay on that site, and the displayed values can be downloaded as a CSV.
Read an example report question
“How many published posts does each author have?” For this question, select the user ID and display name, plus the post author, type and status. The join matches each post to its author.
SELECT u.display_name, COUNT(*) AS published_posts
FROM wp_users AS u
JOIN wp_posts AS p ON p.post_author = u.ID
WHERE p.post_type = 'post'
AND p.post_status = 'publish'
GROUP BY u.ID, u.display_nameThis illustrative query counts authors with at least one published post. A report that also needs authors with zero posts would need a different join.