Question: Departments table table [ [ Column Name,Type ] , [ DeptID , INTEGER PRIMARY KEY ] , [ Name , TEXT ] ] Students
Departments table
tableColumn Name,TypeDeptIDINTEGER PRIMARY KEYNameTEXT
Students table
tableColumn Name,TypeStudent IDINTEGER PRIMARY KEYNameTEXTMajorIDtableINTEGER Foreign key that references the Major ID column inthe Majors tableDeptIDINTEGER Foreign key that references the DeptID column inthe Departments table
Figure shows an entity relationship diagram for the database.
Figure Entity relationship diagram for the studentinfo, db database
Write a program that creates the database and the tables.
Write a program that performs CRUD operations on the Majors table. Specifically, the program should allow the user to do the following: Add a new major
Search for an existing major
Update an existing major
Delete an existing major
Show a list of all majors
Write a program that performs CRUD operations on the Departments table. Specifically, the program should allow the user to do the following: Add a new department
Search for an existing department
Update an existing department
Delete an existing department
Show a list of all departments
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
