Title: question before buying &#8211; SQL
Last modified: April 15, 2022

---

# question before buying – SQL

 *  Resolved [fluffy82](https://wordpress.org/support/users/fluffy82/)
 * (@fluffy82)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/question-before-buying-sql/)
 * Is it possible to set the values in the charts through custom SQL?
 * Just to give an example: my large database has persons with birthdays and death
   days. If I want to make a comparative chart showing the average age for men and
   the average age for women (Y-axis) for every century (X-axis), I need to use 
   my own SQL query. That data is not readily available in the database.
 * Is this possible? Or can I only pull data straight from the database or a spreadsheet?

Viewing 1 replies (of 1 total)

 *  [luciamarinescu](https://wordpress.org/support/users/luciamarinescu/)
 * (@luciamarinescu)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/question-before-buying-sql/#post-15567336)
 * Hi [@fluffy82](https://wordpress.org/support/users/fluffy82/)!
 * Visualizer provides the feature to fetch data in the charts using SQL queries,
   but it depends on the structure of the database and the query you use. We have
   a [document](https://docs.themeisle.com/article/970-visualizer-sample-queries-to-generate-charts)
   with some examples of queries that can be user in Visualizer.
 * Have a nice day!

Viewing 1 replies (of 1 total)

The topic ‘question before buying – SQL’ is closed to new replies.

 * ![](https://ps.w.org/visualizer/assets/icon-256x256.gif?rev=3084574)
 * [Visualizer: Tables and Charts Manager for WordPress](https://wordpress.org/plugins/visualizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visualizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visualizer/)
 * [Active Topics](https://wordpress.org/support/plugin/visualizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visualizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visualizer/reviews/)

## Tags

 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * 1 reply
 * 2 participants
 * Last reply from: [luciamarinescu](https://wordpress.org/support/users/luciamarinescu/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/question-before-buying-sql/#post-15567336)
 * Status: resolved