Help please i am struggling

codeally@bc2f95ec904e:~/project$ ALTER TABLE majors ADD COLUMN column_name VARCHAR(50) NOT NULL;
bash: syntax error near unexpected token `(’

I am struggling with this anyone. Please help me with this I am struggling with this for 2 weeks.

It’s difficult to help much without proper context, but it looks like you’re trying to enter a PSQL command when you’re not logged into psql or connected to a database.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.