Computer Networking: A Top-Down Approach (7th Edition)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
Bartleby Related Questions Icon

Related questions

Question
Given the following Relations in a DBMS write the output of the queries, in tuple form with
attribute labels.
EMPLOYEE
Sex Salary Super_ssn Dno
123456789 1965-01-09 731 Fondren, Houston, TX M 30000 333445555
Fname
Minit
Lname
Ssn
Bdate
Address
John
в
Smith
Franklin T
333445555 1955-12-08 638 Voss, Houston, TX
999887777 1968-01-19 3321 Castle, Spring, TX
Wallace 987654321 1941-06-20 291 Borry, Bollaire, TX
Narayan 666884444 1962-09-15 975 Fire Oak, Humble, TX M
English 453453453 1972-07-31 5631 Rice, Houston, TX
40000 888665555
25000 987654321
43000 888665555
Wong
M
Alicia
Zelaya
Jennifer
F
4
Ramesh
K
38000 333445555
Joyce
A
F
25000 333445555
Ahmad
V
Jabbar
987987987 1969-03-29 980 Dallas, Houston, TX M 25000 987654321
4
E Borg
55000 NULL
James
888665555 1937-11-10 450 Stone, Houston, TX
M
1
DEPARTMENT
DEPT_LOCATIONS
Dnumber
Mgr_ssn
Dname
Rosearch
Mgr_start_date
Dlocation
Dnumber
333445555
1988-05-22
Houston
Administration
4
987654321
1995-01-01
4
Stafford
Headquarters
1
888665555
1981-06-19
5
Bellaire
PROJECT
Sugarland
Pname
Pnumber
Plocation
Dnum
5
Houston
ProductX
Bellaire
5
ProductY
2
Sugarland
5
Productz
3
Houston
5
Computerization
10
Stafford
4
Reorganization
20
Houston
Newbenefits
30
Stafford
Query 1: SELECT
Pnumber, Dnum, Lname, Address, Bdate
FROM
PROJECT, DEPARTMENT, EMPLOYEE
WHERE
Dnum=Dnumber AND Mgr_ssn=Ssn AND Plocation='Stafford'
Query 2: SELECT
E.Fname, E.Lname, S.Fname, S.Lname
FROM
EMPLOYEE AS E, EMPLOYEE ASs
WHERE
E.Super_ssn=S.Ssn
expand button
Transcribed Image Text:Given the following Relations in a DBMS write the output of the queries, in tuple form with attribute labels. EMPLOYEE Sex Salary Super_ssn Dno 123456789 1965-01-09 731 Fondren, Houston, TX M 30000 333445555 Fname Minit Lname Ssn Bdate Address John в Smith Franklin T 333445555 1955-12-08 638 Voss, Houston, TX 999887777 1968-01-19 3321 Castle, Spring, TX Wallace 987654321 1941-06-20 291 Borry, Bollaire, TX Narayan 666884444 1962-09-15 975 Fire Oak, Humble, TX M English 453453453 1972-07-31 5631 Rice, Houston, TX 40000 888665555 25000 987654321 43000 888665555 Wong M Alicia Zelaya Jennifer F 4 Ramesh K 38000 333445555 Joyce A F 25000 333445555 Ahmad V Jabbar 987987987 1969-03-29 980 Dallas, Houston, TX M 25000 987654321 4 E Borg 55000 NULL James 888665555 1937-11-10 450 Stone, Houston, TX M 1 DEPARTMENT DEPT_LOCATIONS Dnumber Mgr_ssn Dname Rosearch Mgr_start_date Dlocation Dnumber 333445555 1988-05-22 Houston Administration 4 987654321 1995-01-01 4 Stafford Headquarters 1 888665555 1981-06-19 5 Bellaire PROJECT Sugarland Pname Pnumber Plocation Dnum 5 Houston ProductX Bellaire 5 ProductY 2 Sugarland 5 Productz 3 Houston 5 Computerization 10 Stafford 4 Reorganization 20 Houston Newbenefits 30 Stafford Query 1: SELECT Pnumber, Dnum, Lname, Address, Bdate FROM PROJECT, DEPARTMENT, EMPLOYEE WHERE Dnum=Dnumber AND Mgr_ssn=Ssn AND Plocation='Stafford' Query 2: SELECT E.Fname, E.Lname, S.Fname, S.Lname FROM EMPLOYEE AS E, EMPLOYEE ASs WHERE E.Super_ssn=S.Ssn
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY