Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CIS 221 / Assignment#4 Student Name: Student ID: Depending on the company schema below and the company_data.sql file on your apex account answer the following

image text in transcribed
CIS 221 / Assignment#4 Student Name: Student ID: Depending on the company schema below and the company_data.sql file on your apex account answer the following questions: EMPLOYEE Fname Minit Lname San Bdate Address Son Salary Super son Dno DEPARTMENT Dname Dnumber Mor_san Mar_start date DEPT LOCATIONS Dnumber Dlocation PROJECT Prame Pnumber Plocation Dnum WORKS ON Esan Png Hours DEPENDENT En 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_2

Step: 3

blur-text-image_3

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

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions

Question

Explain the causes of indiscipline.

Answered: 1 week ago

Question

8. Explain the relationship between communication and context.

Answered: 1 week ago