I sometimes get syntax error at or near the commands, but the next try it works fine.
DROP DATABASE:
Superman-# DROP DATABASE a;
ERROR: syntax error at or near "DROP"
LINE 2: DROP DATABASE a;
^
Superman=# DROP DATABASE a;
DROP DATABASE
and also the CREAT DATABASE:
Superman=# CREATE DATABSE task1database;
ERROR: syntax error at or near "DATABSE"
LINE 1: CREATE DATABSE task1database;
^
Superman=# CREATE DATABASE a;
CREATE DATABASE
Superman=# CREATE DATABASE task1database;
CREATE DATABASE
DATABSEin your second example in the error message should tell you something. DoesDATABSElook right?