Select query in Grafana

Hello for everyone! How save select results for create graphs? Now i get data with select from PostgreSQL, but Grafana show only one result.
Thanks!

Query

SELECT
count(*),
now()::timestamp without time zone + interval ‘6 hour’ AS “time”
FROM
table name
WHERE
status=‘SCHEDULED’