Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Depending on the company schema below and the company_data.sql file on your apex account answer the following questions: EMPLOYEE Fname Minit Lname Bdate Address Sex

image text in transcribed

Depending on the company schema below and the company_data.sql file on your apex account answer the following questions: EMPLOYEE Fname Minit Lname Bdate Address Sex Salary San AAAA Super_ssn Dno 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 statement that display each employee name, birth of date and his/her age in years and sort the result by age from youngest to oldest.(Hint: add alias name for each displayed column). Q2: Display the employee's name and the number of dependents for each employee. Q3: Display the employee's numbers that have more than or equal two dependents. Q4: Write the statement that display department name and the manager name who manage the Department. Q5: Display the different values of salary for employees whose names contains the letter 'S

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 Administration The Essential Reference

Authors: Brian Laskey, David Kreines

1st Edition

1565925165, 978-1565925168

More Books

Students also viewed these Databases questions