# Format MYSQL query

**URL:** <https://community.grafana.com/t/format-mysql-query/14733>\
**Category:** General\
**Tags:** mysql\
**Created:** [February 23, 2019, 8:03am UTC](https://community.grafana.com/t/format-mysql-query/14733 "2019-02-23T08:03:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aman28061994](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@aman28061994](https://community.grafana.com/u/aman28061994)\
**Post date:** [February 23, 2019, 8:03am UTC](https://community.grafana.com/t/format-mysql-query/14733/1 "2019-02-23T08:03:41Z")

</div>

Hello,  
I am new to Graffana, I have a use-case that is based on mysql like I am having metrics table created everyday in mysql for eg for day 23-02-2019 the format of the table is traffic\_summary\_23\_02\_2019 and for day 24-02-2019 the table is traffic\_summary\_24\_02\_2019. So is there any possible way to rollover the table in grafana dashboard
