Question: Project Description (SQL) The university system aims to track the information of projects, students, professors and more. Project is managed by one professor. And each
Project Description (SQL)
The university system aims to track the information of projects, students, professors and more.
Project is managed by one professor. And each project is worked on by one or more professors. but professors can manage and/or work on multiple projects.
Each project is worked on by one or more graduate students. When graduate students work on a project, a professor must supervise their work on the project. Graduate students can work on multiple projects, in which case they will have a supervisor for each one.
Departments have a professor who runs the department. professors work in one or more departments, and for each department that they work in, a time percentage is associated with their job. Graduate students have one major department.
Professors have an SSN, a name, an age, a rank, and a research specialty. Projects have a project number, a sponsor name (e.g., NSF), a starting date, an ending date, and a budget. Graduate students have an SSN, a name, an age, and average degrees
Departments have a department number, a department name, and a main office.
Design and draw an ER diagram for database.
Write DDL statements to create the tables.
Insert at least 3 records (row) in each table.
Select all those professors who age in the range 30 to 40 and don't have any rank.
Count the number of different professor names.
List all professors whose name begins with A or L and age
Large than 30.
Find the names of professors supervising graduate students that age >22.
Find the names of professors who have works in at least one project.
Change the any name of professor to Ali.
Select all information about professor whose name is Ali
Delete the record for the professor whose name is Ali.
Find the names of graduate students who have works on projects with budget >300, and list in the order of budget.
create view that view names of professors and name of project
Find the name and the age of the youngest professors
Find all information of projects who have managed by each professor
Write a query to retrieve name of professor, department name and project, for all projects whose budget is greater than 400
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
