Write Queries for the following: 1. Find all information of projects who have managed by each professor. 2. Find the names and degrees of graduate students whose degree is better than some graduate students called Ali. 3. write a query to retrieve the name of graduate student and student advisor name of all graduate student. 4. Find the number of graduate students who have the same average degrees and display new column as (average_degrees*average_degrees/2) for each graduate student, and list in the order of age.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
i need the answer quickly
Write Queries for the following:
1. Find all information of projects who have managed by each professor.
2. Find the names and degrees of graduate students whose degree is better than some
graduate students called Ali.
3. write a query to retrieve the name of graduate student and student advisor name of all
graduate student.
4. Find the number of graduate students who have the same average degrees and display
new column as (average_degrees*average_degrees/2) for each graduate student, and
list in the order of age.
5. Write a query to retrieve name of professor, department name and project, for all
projects whose budget is greater than 400.
6. Select all those professors who age in the range 30 to 40 and don't have
7. List all professors whose name begins with 'A' or 'L' and age large than 30.
8. List full details of departments that don't have any graduate students.
9. Find the name and the age of the youngest professors (ALL).
10. Count the number of different professor's names
11. Find the names of student who have work in all projects
12. Find the name and the age of the youngest graduate student
13. Find the names of professors supervising graduate students that age > 22.
14. Find the ids of professors who have work in an IT department or Seience department.
15. Find the names of graduate students who have works on projects with budget> 300,
and list in the order of budget.
16. Find the ids and names of professors who have work in two different departments on
the same time.
17. Find the names of professors who have works in at least one project.
18. Change the name of professor Alex' to "Ali".
19. Delete the record for the student whose name is Ali' and age 22,
any
rank.
20. add new column to project table with constraint unique and add a default value for it.
21. create view that view names of professors and name of project.
Transcribed Image Text:Write Queries for the following: 1. Find all information of projects who have managed by each professor. 2. Find the names and degrees of graduate students whose degree is better than some graduate students called Ali. 3. write a query to retrieve the name of graduate student and student advisor name of all graduate student. 4. Find the number of graduate students who have the same average degrees and display new column as (average_degrees*average_degrees/2) for each graduate student, and list in the order of age. 5. Write a query to retrieve name of professor, department name and project, for all projects whose budget is greater than 400. 6. Select all those professors who age in the range 30 to 40 and don't have 7. List all professors whose name begins with 'A' or 'L' and age large than 30. 8. List full details of departments that don't have any graduate students. 9. Find the name and the age of the youngest professors (ALL). 10. Count the number of different professor's names 11. Find the names of student who have work in all projects 12. Find the name and the age of the youngest graduate student 13. Find the names of professors supervising graduate students that age > 22. 14. Find the ids of professors who have work in an IT department or Seience department. 15. Find the names of graduate students who have works on projects with budget> 300, and list in the order of budget. 16. Find the ids and names of professors who have work in two different departments on the same time. 17. Find the names of professors who have works in at least one project. 18. Change the name of professor Alex' to "Ali". 19. Delete the record for the student whose name is Ali' and age 22, any rank. 20. add new column to project table with constraint unique and add a default value for it. 21. create view that view names of professors and name of project.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY