Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Based on the following Schema, answer the following questions: EMPLOYEE Fname Minit Lname Bdate Address Sex Salary Superssn Dno Ssn AAAA DEPARTMENT Dname Dnumber AAA

image text in transcribed

Based on the following Schema, answer the following questions: EMPLOYEE Fname Minit Lname Bdate Address Sex Salary Superssn Dno Ssn AAAA DEPARTMENT Dname Dnumber AAA Mgr_ssn Mgr_start_date DEPT_LOCATIONS Dnumber Dlocation PROJECT Pname Pnumber Plocation Dnum WORKS ON Essn Pno Hours DEPENDENT Essn Dependent_name Sex Bdate Relationship Q1: Write a statement that displays each dependent name and his/her age in years. Q2: For each department, find the number of employees who belong to it. Q3: Write a statement that displays the unique values of Dependent_name in Dependent table. Q4: Write a statement that displays each employee name and his dependent name and sort the result according to Dependent_name Descending. Q5: Retrieve the project name and hours worked on that project in which hours are equal to the maximum hours worked on the projects

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Multimedia Database Systems

Authors: V.S. Subrahmanian

1st Edition

1558604669, 978-1558604667

More Books

Students also viewed these Databases questions

Question

Classify delivery styles by type.

Answered: 1 week ago