The ALTER command is a DDL command that can be used to change the structure of existing tables in the…