Q1. Create these two relations, then insert the tuples. (Instructor relation: ID is PK, dept_name is FK, set name not null and unique, every tuple in salary must be greater than 35000 and less than 100000) (Department relation: dept_name is PK) Department deptлame building budget Biology Comp. Sci. Elec. Eng. Watson 90000 Taylor 100000 Тaylor 85000 Finance Painter 120000 History Painter 50000 Music Packard 80000 Physics Watson 70000 Instructor ID пате deptлame salary Comp. Sci. Finance 10101 Srinivasan 65000 12121 Wu 90000 15151 Mozart Music 40000 Physics History Physics Comp. Sci. History 22222 Einstein 95000 32343 El Said 60000 33456 Gold 87000 45565 Katz 75000 58583 Califieri 62000 76543 Singh Crick Finance 80000 76766 Biology Comp. Sci. Elec. Eng. 72000 83821 Brandt 92000 98345 Kim 80000
Q1. Create these two relations, then insert the tuples. (Instructor relation: ID is PK, dept_name is FK, set name not null and unique, every tuple in salary must be greater than 35000 and less than 100000) (Department relation: dept_name is PK) Department deptлame building budget Biology Comp. Sci. Elec. Eng. Watson 90000 Taylor 100000 Тaylor 85000 Finance Painter 120000 History Painter 50000 Music Packard 80000 Physics Watson 70000 Instructor ID пате deptлame salary Comp. Sci. Finance 10101 Srinivasan 65000 12121 Wu 90000 15151 Mozart Music 40000 Physics History Physics Comp. Sci. History 22222 Einstein 95000 32343 El Said 60000 33456 Gold 87000 45565 Katz 75000 58583 Califieri 62000 76543 Singh Crick Finance 80000 76766 Biology Comp. Sci. Elec. Eng. 72000 83821 Brandt 92000 98345 Kim 80000
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...
Related questions
Question

Transcribed Image Text:Q1. Create these two relations, then insert the tuples.
(Instructor relation: ID is PK, dept_name is FK, set name not null and unique, every tuple
in salary must be greater than 35000 and less than 100000)
(Department relation: dept_name is PK)
Department
dept_name
building
budget
Biology
Comp. Sci.
Elec. Eng.
Watson
90000
Taylor
Taylor
Painter
100000
85000
Finance
120000
History
Painter
50000
Music
Packard
80000
Physics
Watson
70000
Instructor
ID
dept name
salary
name
Comp. Sci.
Finance
10101
Srinivasan
65000
12121
Wu
90000
15151
Mozart
Music
40000
Physics
History
Physics
Comp. Sci.
History
Finance
22222
Einstein
95000
32343
El Said
60000
33456
Gold
87000
45565
Katz
75000
58583
Califieri
62000
76543
Singh
80000
76766
Crick
Biolo
72000
Comp. Sci.
Elec. Eng.
83821
Brandt
92000
98345
Kim
80000
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Recommended textbooks for you

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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

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
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY