Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The xyz company keeps information about their employees and managers in a pair of data base tables. The employee table contains information similar to the

The xyz company keeps information about their employees and managers in a pair of data base tables. The employee table contains information similar to the following:
image includes table.
The staff table lists the id of the manager and the id of the employee who they manage. It contains information similar to the following:
image includes table.
create a query that returns the manager's first name, last name, and the total current age in whole years of their employees. The column should be named first, last, and total.
Note the following:
if a person is 25.55 years old onlu count the whole part, ie.25.
You can assume that there A correct query would produce the following in the default dataset. Expected: are 365 days in a year.
image text in transcribed

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

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions

Question

5-8 What are the advantages and disadvantages of the BYOD movement?

Answered: 1 week ago