reformat, added pn to where
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 6 Oct 2020 10:21:11 +0000 (12:21 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 6 Oct 2020 10:21:11 +0000 (12:21 +0200)
gnuplot/axes.sql

index 11522de..b5f6af6 100644 (file)
@@ -1,2 +1,5 @@
-select to_char(time, 'YYYY-MM-DD HH24:MI:SS'), x_axis_angle, y_axis_angle from zc where time > now() - interval '6 hours' order by time asc 
+select to_char(time, 'YYYY-MM-DD HH24:MI:SS'), x_axis_angle, y_axis_angle
+from zc
+where pn = 2008050087 and time > now() - interval '24 hours'
+order by time asc