Create a database named School and perform all the DDL commands(CREATE, ALTER, DROP, RENAME, TRUNCATE) for the table named STUDENT with fields: Roll_No, Name, Marks, Grade. Create data on your own based on the given columns
• 1 Use the select command to display the table.
• 2 Add a column named Contact to the STUDENT table.
• 3 Remove the Grade column from the Student table.
• 4 Rename the table to CLASSTEN.
• 5 Delete all rows from the table.
• 6 Remove the table from the database.
CREATE DATABASE School;
USE School;
create table STUDENT (Roll_no int, Student_name varchar(30), Marks int, Grade int);
ALTER TABLE student ADD contact varchar(10);
select * from student;
ALTER TABLE student DROP grade;
ALTER TABLE student RENAME CLASSTEN;
SELECT * FROM STUDENT;
select * from CLASSTEN;
truncate classten;
DROP TABLE Classten;