clear markdown feedback
clear markdown feedback
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 3799078 fiddles created (41781 in the last week).

CREATE TABLE newtable (id int);
 hidden batch(es)


ALTER TABLE newtable ADD COLUMNS f1 float8, f2 int;
ERROR: syntax error at or near "float8" LINE 2: ADD COLUMNS f1 float8, f2 int; ^
 hidden batch(es)


ALTER TABLE newtable ADD COLUMN f1 float8, f2 int, f3 text;
ERROR: syntax error at or near "f2" LINE 2: ADD COLUMN f1 float8, f2 int, f3 text; ^
 hidden batch(es)


ALTER TABLE newtable ADD COLUMN f1 float8, ADD COLUMN f2 int, ADD COLUMN f3 text;
 hidden batch(es)