Professional Documents
Culture Documents
DML (Data Manipulation Language) is another subset of SQL commands primarily used
to manipulate data stored in a database. These commands allow you to insert new data
into tables, update existing data or delete data from tables. Some common DML
statements include SELECT, INSERT, UPDATE and DELETE.
3. Design the database of XYZ school. Create a course and student table. Tables must
have Primary and Foreign Keys, design and implement a database as given below.
Create a table named “course” in the database with the following fields:
Course_name VARCHAR(255)
course_duration INT
teacher_name VARCHAR(255)
Create a table named “student” in the database with the following fields:
studentID INT PRIMARY KEY
student_name VARCHAR(255)
student_address VARCHAR(255)
student_contactDetails INT