DM Lab-4pdf
DM Lab-4pdf
DM Lab-4pdf
LAB-4
Primary key constraint in database:
1. Create a table as per the following descriptions and create aadhar as primary key
(insert at least two rows of data):
Student (student_id: integer, students_name: string, phone_number: number,
department: string, aadhar_num: not null)
4. For table in question number 1, drop the primary key using alter table and add
primary key on student_id
primary key(student_id);