I have a table named practice
in which a column firstname is present and I'm trying to execute the following query.
alter table practice alter firstname not null ;
and I'm getting this syntax:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varchar not null' at line 1
Need clarification on the syntax error.