When I try to run a command in the psql shell, it doesn't work and I have to enter it again. For example, if I run SELECT * FROM flights;
, it won't run and says
ERROR: syntax error at or near "SELECT"
LINE 2: SELECT * FROM flights;
^
But, when I try it again, it works completely fine. Help! I'm using the windows version.
(It only works some times)