grafana/pkg/registry/apis/preferences/legacy/testdata/mysql--sql_dashboard_stars-...

6 lines
199 B
MySQL
Raw Normal View History

SELECT s.org_id, u.uid as user_uid, s.dashboard_uid, s.updated
FROM `grafana`.`star` as s
JOIN `grafana`.`user` as u ON s.user_id = u.id
ORDER BY
s.org_id asc, s.user_id asc, s.updated asc