Create pie charts using MS SQL server data source

Hello everyone. I’m trying to create pie charts using MS SQL Server data source, when placing Time Series it is informed that there is no time column. I read on the Grafana website related to time series queries, but I didn’t quite understand how it works that way.