Question
In MySql Create a database named Graduate and implement a database schema using these tables. The primary keys are underlined. The foreign keys have the
In MySql\ Create a database named "Graduate" and implement a database schema using these tables. The primary keys are underlined. The foreign keys have the same name as the primary key in another table. The schema should be in the form of an SQL script (i.e., grad.sql).\ GradSchool(GradSchoollD, Name, Address, ContactEmail)\ Student(StudentID, AdvisorID, StudentName, StudentEmail, Major, DOB, GPA)\ Advisor(AdvisorID, AdvisorName, AdvisorEmail)\ StudentApplication(GradSchoollD, StudentID, Date, Status)\ (20 Points) Write and insert five (5) statements into each table above. The insert statements should be in the form of an SQL script (i.e., data.sql).\ (20 Points) Write the following queries. The queries should be in the form of an SQL script (i.e., queries.sql).\ a) Write a query to output all student information.\ b) Write a query to output all students with a GPA above 3.0.\ c) Write a query to output the name of all advisors and the name of the student they advise.\ d) Write a query to output the name of all students and the name of the graduate school to which they have applied.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started