• Given the following Relations in a DBMS write the output of the queries, in tuple form with attribute labels. EMPLOYEE Fname Minit Lname John Franklin Alicia Jennifer Ramesh K Narayan 666884444 1962-09-15 975 Fire Oak, Humble, TX M 38000 333445555 Joyce Ssn Bdate Address Sex Salary Super_ssn Dno в | Smith I Wong JZelaya 99887777 1968-01-19 3321 Castle, Spring, TX s Wallace 987654321 1941-06-20 291 Berry, Bellaire, TX 123456789 1965-01-00 731 Fondren, Houston, TX M 30000 333445555 333445555 1955-12-08 638 Voss, Houston, TX M 40000 888665555 F 25000 087654321 F 43000 888665555 4 4 A English 453453453 1972-07-31 5631 Rice, Houston, TX F 25000 333445555 v Jabbar 987987987 | 1969-03-29 980 Dallas, Houston, TX M 25000 087654321 E Borg Ahmad 4 James 888665555 1937-11-10 450 Stone, Houston, TX M 55000 |NULL 1 DEPARTMENT DEPT_LOCATIONS Dname Dnumber Mgr_ssn 333445555 Mgr_start_date Dnumber Dlocation Research 5 1988-05-22 Houston Administration 4 987654321 1995-01-01 4 Stafford Headquarters 888665555 1981-06-19 Bellaire PROJECT 5 Sugarland Pname Pnumber Plocation Dnum 5 Houston ProductX Bollaire 5 ProductY 2 Sugarland 5 Productz 3 Houston Computerization Reorganization Newbenefits 10 Stafford 4 20 Houston 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 AS S WHERE E.Super_ssn=S.Ssn
• Given the following Relations in a DBMS write the output of the queries, in tuple form with attribute labels. EMPLOYEE Fname Minit Lname John Franklin Alicia Jennifer Ramesh K Narayan 666884444 1962-09-15 975 Fire Oak, Humble, TX M 38000 333445555 Joyce Ssn Bdate Address Sex Salary Super_ssn Dno в | Smith I Wong JZelaya 99887777 1968-01-19 3321 Castle, Spring, TX s Wallace 987654321 1941-06-20 291 Berry, Bellaire, TX 123456789 1965-01-00 731 Fondren, Houston, TX M 30000 333445555 333445555 1955-12-08 638 Voss, Houston, TX M 40000 888665555 F 25000 087654321 F 43000 888665555 4 4 A English 453453453 1972-07-31 5631 Rice, Houston, TX F 25000 333445555 v Jabbar 987987987 | 1969-03-29 980 Dallas, Houston, TX M 25000 087654321 E Borg Ahmad 4 James 888665555 1937-11-10 450 Stone, Houston, TX M 55000 |NULL 1 DEPARTMENT DEPT_LOCATIONS Dname Dnumber Mgr_ssn 333445555 Mgr_start_date Dnumber Dlocation Research 5 1988-05-22 Houston Administration 4 987654321 1995-01-01 4 Stafford Headquarters 888665555 1981-06-19 Bellaire PROJECT 5 Sugarland Pname Pnumber Plocation Dnum 5 Houston ProductX Bollaire 5 ProductY 2 Sugarland 5 Productz 3 Houston Computerization Reorganization Newbenefits 10 Stafford 4 20 Houston 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 AS S WHERE E.Super_ssn=S.Ssn
Principles of Information Systems (MindTap Course List)
12th Edition
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter5: Database Systems And Applications
Section: Chapter Questions
Problem 8SAT
Related questions
Question
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 with 1 images
Knowledge Booster
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.Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
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
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
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
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr