Design and draw an ER diagram for database.

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 11RQ
icon
Related questions
Question
1. Design and draw an ER diagram for database.
2. Write DDL statements to create the tables.
3. Insert at least 3 records (row) in each table. |
4.
Select all those professors who age in the range 30 to 40 and don't
have any rank.
5.
Count the number of different professor names.
6.
List all professors whose name begins with 'A' or 'L' and age
7. Large than 30.
8.
Find the names of professors supervising graduate students that age
>22.
9. Find the names of professors who have works in at least one project.
10. Change the any name of professor to 'Ali'.
11. Select all information about professor whose name is 'Ali'
12. Delete the record for the professor whose name is 'Ali'.
13. Find the names of graduate students who have works on projects
with budget >300, and list in the order of budget.
14. create view that view names of professors and name of project
15. Find the name and the age of the youngest professors
16. Find all information of projects who have managed by each
professor
17. Write a query to retrieve name of professor, department name and
project, for all projects whose budget is greater than 400.
Transcribed Image Text:1. Design and draw an ER diagram for database. 2. Write DDL statements to create the tables. 3. Insert at least 3 records (row) in each table. | 4. Select all those professors who age in the range 30 to 40 and don't have any rank. 5. Count the number of different professor names. 6. List all professors whose name begins with 'A' or 'L' and age 7. Large than 30. 8. Find the names of professors supervising graduate students that age >22. 9. Find the names of professors who have works in at least one project. 10. Change the any name of professor to 'Ali'. 11. Select all information about professor whose name is 'Ali' 12. Delete the record for the professor whose name is 'Ali'. 13. Find the names of graduate students who have works on projects with budget >300, and list in the order of budget. 14. create view that view names of professors and name of project 15. Find the name and the age of the youngest professors 16. Find all information of projects who have managed by each professor 17. Write a query to retrieve name of professor, department name and project, for all projects whose budget is greater than 400.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Enhanced ER Model
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage