
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question

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

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 2 steps with 2 images

Knowledge Booster
Similar questions
- write SQL statement to search for employees who is the manager of the department specified by the cboDeptarrow_forwardplease solve this fastarrow_forwardcomputer engineering question Write the Program in APEX using Salesforce Object query Language to Fetch Contacts and Opportunities Records and also show the outputarrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY

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