I am a novice and the question is very simple, do not judge strictly. The fact is that when I try to change the length of a table column, I get ERROR: syntax error at or near "MODIFY" . What could be the reason?
CREATE TABLE movies ( title VARCHAR(20) NOT NULL ); ALTER TABLE movies MODIFY title VARCHAR(10) NOT NULL;