subject

Consider the following information about a university database: • professors have an ssn, a name, an age, a rank, and a research specialty.• projects have a project number, a sponsor name , a starting date, an ending date, and a budget.• graduate students have an ssn, a name, an age, and a degree program (e. g., m. s.or ph.• each project is managed by one professor (known as the project’s principal investigator).• each project is worked on by one or more professors (known as the project’s co-investigators).• professors can manage and/or work on multiple projects.• each project is worked on by one or more graduate students (known as the project’s research assistants).• 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 (potentially different) supervisor for each one.• departments have a department number, a department name, and a main office.• departments have a professor (known as the chairman) who runs the department.• professor’s 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 in which they are working on their degree.• each graduate student has another, more senior graduate student (known as a student advisor) who advises him or her on what courses to take.3. (20pt) triggers and stored procedures: add the following triggers and stored procedures to your database: a. female_faculty(): a function that returns the percentage of the female faculty in the university. b. total_people(pno): a function that returns the total number of people (pi, co-pi, students) who work on the project with pno. c. faculty_restrict: a trigger to ensure that each project has at most 4 faculty members as co-pi. d. student_restrict: a trigger to ensure that a student works on no more than two projects. write in the postgresql

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 17:40, xinkyx616
Pseudocode pld #6, pg. 117 start// declarations// number numbertoguess// number myguess; numbertoguess = 92// while myguess ! = numbertoguess// output " guess an integer number between 1 and 100"// input myguess// if (myguess == numbertoguess)// output "you guessed the correct number"// else// output "the number you guessed was incorrect. try again! "// end if// end while// output " for playing the guessing game. have a great day! "// stop
Answers: 3
image
Computers and Technology, 24.06.2019 17:50, yssbammy
Which of the following best describe how the depth-limited search works. a normal depth-first search is performed but the number of ply/depths is limited. a normal breadth-first search is performed but the number of ply/depths is limited. a normal breadth-first search is performed but values above a specific value will be ignored. a normal depth-first search is performed but values above a specific value will be ignored.
Answers: 1
image
Computers and Technology, 25.06.2019 06:30, hayden5928
Which component is typically used as an amplifier a battery a transistor a microchip a diode
Answers: 1
image
Computers and Technology, 25.06.2019 07:20, genyjoannerubiera
Acompany's intranet is set up on this type of server. application communication print web
Answers: 1
You know the right answer?
Consider the following information about a university database: • professors have an ssn, a name, an...

Questions in other subjects: