Found no column named time

I am trying to draw a graph from a table in a Postgresql database. After creating the query I keep getting the error message “Found no column named time”. If I run the Generated Query on the database it gives no error.
Grafana Version: 6.3.4
Postgresql: 8.1.2
OS: Fedora

What am I doing wrong?

The time column must be a UNIX integer timestamp in seconds.

1 Like

put time on the group by

1 Like

After I upgraded the grafana version it started working. Thanks!